It's all about the answers!

Ask a question

change permission of a new file in SCM automatically


Robison Sousa (261) | asked Sep 23 '19, 1:02 p.m.
edited Sep 23 '19, 1:13 p.m.
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


permanent link
Robison Sousa (261) | answered Sep 23 '19, 1:33 p.m.
Ralph Schoon selected this answer as the correct answer

Comments
Ralph Schoon commented Sep 24 '19, 6:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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
  1. 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.
  2. 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.

Your answer


Register or to post your answer.