Hello everyone.i want to change the user role information of a folder permission in alfresco using rest api.But I could not find it in the alfresco rest document.I just found the get service as in the picture.I want update service.Do you have any information on this?
Using older 5.0.c Community version, there is this in the webscripts:
set-permissions
POST /alfresco/s/slingshot/doclib/permissions/{store_type}/{store_id}/{id}
---
Document List Component - set permissions data webscript
---
Apparently there is a specific JSON body that needs to be sent. There is no documentation on it. One site mentioned it should take this form below:
{
"permissions":
[
{
"authority":"danelige",
"role":"Collaborator",
"remove":true
},
{
"authority":"danelige",
"role":"SiteManager"
}
]
,"isInherited":true
}
This returns 200 OK and result body consisting only of: "{}"
However it does have the desired effect... inheritance can be toggled and users added as locally set by using above notation.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.