AnsweredAssumed Answered

Custom action using permissionService to query nodes

Question asked by dwinfield on Mar 18, 2009
I noticed in the permissionService there are two "findNodesBy.." methods that are deprecated.  Is there an alternative to finding nodes that a curret user has a role/permission associated with it?  Do I need to use the search service and use a custom query?  Is there another method that has replaced the "findNodesBy…" that I just didn't see in the javadocs?

For those wondering, when using them, eventhough they're deprecated I get an UnsuportedOperationException from org.alfresco.repo.domain.hibernate.AbstractPermissionsDaoComponentImpl.findNodeByPermission

Also, instead of deprecated, should those methods just be deleted?

Outcomes