You are viewing limited content. For full access, please sign in.

Question

Question

Use SDK to Copy Access Rights from One Trustee to Another

asked on July 16, 2024

Hey all,

 

Is there a way using the SDK to copy access rights for a single repository folder from one trustee to another?

 

 

Eric

 

0 0

Replies

replied on July 16, 2024 Show version history

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.

0 0
replied on July 17, 2024

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.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.