protected boolean hasPermissions ( CmsObject cms , CmsSolrDocument doc , CmsResourceFilter filter ) { return null != ( filter == null ? getResource ( cms , doc ) : getResource ( cms , doc , filter ) ) ; }
Check if the current user has permissions on the document s resource .