Content Automation : How to Block permisions inheritance programmaticaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2013 09:37 AM
Hello, I am looking a way, using the automation api, to block inheritance from a specific document...
I only found Document.RemoveACL and Document.SetACE : they both seem to not be able to do what i need.
Is there a way to do that ?
Thank you for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2013 06:57 PM
I think those are the only two functions you need. On the current document use Document.RemoveACL to remove the ACL 'local'. Then use Document.SetACE with grant = false for everyone for everything on local. And then use Document.SetACE to grant = true the permissions you do want on the document. I have had no need to try this but it mirrors the programmatic approach.
See the automation operations index for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2013 06:10 AM
Thank you very much for your precise answer to my question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2013 08:41 AM
It should reflect it. Have you done a refresh in the UI? Have you used the "local" ACL?
