Rest: How to remove a use from ACL list
When removing permissions for a user (ACL) using the webservices it removes the user from the list on the UI completely. When i did the same with REST, it seems to leave the user listed in the ACL list (with no permissions to the object). SO the differences is that the name of the user is still in the ACL list of the object, but they have no permissions ( as all checkboxes, ie: see/seecontent are removed )
Answers
-
Hi @Tim Jian
If you bring up Smart View and remove users from the permissions list, you can see the DELETE REST API in developer tools of the browser. In my example:
URI: http://Serverfqdn/OTCS/cs.exe/api/v2/nodes/185391/permissions/custom/219244
Method: DELETEThe above deleted the UserID 219244 which was explicitly given permission to the node: 185391 .
Smartview + Browser dev tools usually gives you details of exactly what you need to run through REST API in Content Server.
0 -
Hi HSS2021,
Thanks for the answer.
But we are on CS 23.1. It seems there is no "DELETE" Method for it yet, I just checked it is available since 23.4, and Smart view is basically only browse view of folders. No administration pages are available in 23.1
Your help is appreciated.
Tim
0 -
Hi @Tim Jian
While it is not documented, it still works.
In Smart View, on any object, hover over with the mouse to get the inline action menu, click on the '…' icon and click on View permissions.
You will have the ability to remove users by hovering over them and you should see a
icon.
If you enable Devtools on the browser and capture the delete, that helps you see the REST call being made and you can tailor it based on your needs.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories