Manage access rights on files
Is there a way to manage access rights on files and not only on a folders .
I have implemented an Operation allowing me to grant or deny permissions, but it only works if the document is a folder or a workspace. If the path of the document points directly on a file i get a java.lang.NullPointerException” .
tx Michel
If the NPE occur in a Nuxeo class and not your then it sounds like a bug. Can you please open a jira issue and attach the source code of your operation that would allow us to reproduce the issue? Alternatively post the stacktrace on something like http://friendpaste.com and edit your question to add the link.