cancel
Showing results for 
Search instead for 
Did you mean: 

How to define and handle permission for members in a group using REST API ?

Sherry_Ummen
Champ on-the-rise
Champ on-the-rise

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 ?

2 REPLIES 2

Sherry_Ummen
Champ on-the-rise
Champ on-the-rise

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

Sherry_Ummen
Champ on-the-rise
Champ on-the-rise

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

Getting started

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.