cancel
Showing results for 
Search instead for 
Did you mean: 

Manage access rights on files

mcaissie_
Confirmed Champ
Confirmed Champ

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

1 ACCEPTED ANSWER

bruce_Grant
Elite Collaborator
Elite Collaborator

Take a look at this KB article to set rights on non-folder documents.

View answer in original post

2 REPLIES 2

bruce_Grant
Elite Collaborator
Elite Collaborator

Take a look at this KB article to set rights on non-folder documents.

Olivier_Grisel
Star Contributor
Star Contributor

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.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.