change folder permission using API
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 05:35 AM
Hi,
I am working on a use case where i have one client application which integrated with alfresco using CMIS. I am using external authentication by modifying header in request for authentication in alfresco. Till now i am able to create session with non-admin user using cmis api.
Now there is one folder in repository by the name testing and i want the non-admin user say "abc" should have the permission on that folder with the role contributor and this i want to achieve by rest api or some other api. I don't want the admin to do this rather non-admin user should do this
Please help me with this. I am not able to find any solution for my use case.
Thanks
Nancy
I am working on a use case where i have one client application which integrated with alfresco using CMIS. I am using external authentication by modifying header in request for authentication in alfresco. Till now i am able to create session with non-admin user using cmis api.
Now there is one folder in repository by the name testing and i want the non-admin user say "abc" should have the permission on that folder with the role contributor and this i want to achieve by rest api or some other api. I don't want the admin to do this rather non-admin user should do this
Please help me with this. I am not able to find any solution for my use case.
Thanks
Nancy
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 06:14 AM
Take a look at the following forum post. See if it can be helpful to you.
https://forums.alfresco.com/forum/developer-discussions/web-scripts/change-inherit-parent-space-perm...
Hope this helps.
https://forums.alfresco.com/forum/developer-discussions/web-scripts/change-inherit-parent-space-perm...
Hope this helps.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2015 04:41 AM
Hi Ramesh,
Above solution seems to be helpful but i want to add the user with the appropriate permission to the node. Is there any example for the same?
Regards,
Nancy
Above solution seems to be helpful but i want to add the user with the appropriate permission to the node. Is there any example for the same?
Regards,
Nancy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2015 04:50 AM
Could you please provide more detail on the scenario like what kind of permission you want to set on a node which the web script mentioned in above post is not taking care of. Just wanted to understand, how above web script is not useful in your scenario.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2015 06:40 AM
I wanted to add current logged in user with the role of contributor to the folder node.
Regards,
Nancy
Regards,
Nancy