Hey all,
Is there a way using the SDK to copy access rights for a single repository folder from one trustee to another?
Eric
Hey all,
Is there a way using the SDK to copy access rights for a single repository folder from one trustee to another?
Eric
It's an easy matter to copy privileges and feature rights from one trustee to another. Entry access rights - which form the bulk of what would be considered access rights - are assigned to entries, which means you would need to find all entries that a user has assigned permissions on and add a new ACE to each one. There is a search type ("LFACE" - see the advanced search documentation) that can find these, rather than needing to crawl the repository.
Are you already assigning rights to a group instead of to individual users? If not, this would be a good time to adopt that practice.
Edited: I somehow missed that the question was about a single folder. In that case, you can skip the search, and you just need to find which ACEs (there can be more than 1) on the target apply to the first trustee and create a matching one on the destination.
I have a new group that needs rights at the repository folder level that are identical to an existing group that already has rights to each folder. I can't simply add the new group to the existing one because that group has rights to other things (business processes, etc.) that don't apply to this new group.