07-12-2017 08:07 AM
Hi,
I want to have a group of member and an admin .
Members will have only the read rights, whereas admin will have all the rights even to manipulate the users.
How should this be done using Rest API ? I could not find examples or any documentation on how to do it.
Could someone please share on how to do it ?
07-12-2017 08:29 AM
Hmm looks like I have to define permissions to the workspace or folder which I define. How to set permissions using REST API ? where is it mentioned in the documentation ... aarrggg
07-13-2017 06:05 AM
btw if someone is breaking their head as I did so do not worry when you have Sherry. Here is the solution to do it with the .Net client
Entity doc = client.Operation("Document.AddPermission") .SetInput("doc:/TestDomain/TestWorkspace") .SetParameter("username", "crapgroup") .SetParameter("permission", "Read") .Execute() .Result;
To do it with Rest API you can follow the parameters here http://nuxeo.github.io/api-playground/#/commands/Document.AddPermission
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
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.