change permission of a new file in SCM automatically
Hi there,
When adding a new file to SCM, I need to restrict access to a particular group if the name contains a certain prefix like "BD_XXX_ *" automatically.
So is there another option to implement this action other than creating a custom Advisor?
Is there any option for implementation with the API?
Tks!
Accepted answer
I found this link to implement using the API.
Comments
Yes, the customer was so gracious and let me share the work we did. Your question
As far as I know the ways to do this are
- A Participant (follow up action) that changes the read access permissions e.g. during checkin - problem: user that performs the checkin needs to heave the permission to change the read access.
- An asynchronuous tool, that does this out of the context e.g. using an admin user - it is not immediate but it would be possible to use a special account. Conflicts?
In both chases you would use the API.