AnsweredAssumed Answered

Get user's permission for a nodeRef in Java-backed webscript

Question asked by sunquanbin on Apr 30, 2014
Latest reply on Apr 30, 2014 by romschn
Hi,

In a Java-backed webscript's Java handler, PermissionService can be used to get the permissions of a node. But this service seems only return permissions (based on user group?) for a node.

How can I get the permissions (e.g. edit, delete)for given user on a given node? Is there any service has a method like <b>getPermissions(nodeRef, userName)</b>?

Thanks in advance,

Sun

Outcomes