Operation Advisor for check-in operation
Is there a way to create an operation advisor for check-in operations? We have streams with "read only" components, so the user should not be alllowed to modify these special components. I am aware of the "Restrict Change Set Delivery to Components in a Stream" precondition, but this has to be configured for each stream (we have a general rule which we can apply). And it is a little late, we would like to prevent even change set creation for this forbidden components.
I know that a tricky user could work around this with some knowlegde (removing the flow target on his repository workspace, so we loose the "which component is forbidden" information), so we also need the deliver operation advisor, but we want to warn the user as early as possible, that he is doing things he should not.
And this should be a server side operation, as we do not want to implement this precondition for the various clients (eclipse, cli, shell integration, etc...). As check-in works on the repository workspace, which is server side, this should be possible.
I know that a tricky user could work around this with some knowlegde (removing the flow target on his repository workspace, so we loose the "which component is forbidden" information), so we also need the deliver operation advisor, but we want to warn the user as early as possible, that he is doing things he should not.
And this should be a server side operation, as we do not want to implement this precondition for the various clients (eclipse, cli, shell integration, etc...). As check-in works on the repository workspace, which is server side, this should be possible.
One answer
Based on the discussion around this question, I've created work item Allow a user to declare that if they are not allowed to deliver changes to a file, that the file should be loaded into the sandbox as read-only (242009)
This is of course not the original request (i.e. allow process preconditions on the checkin operation), so that is still the behavior you would prefer, please feel free to submit a work item with that request.
This is of course not the original request (i.e. allow process preconditions on the checkin operation), so that is still the behavior you would prefer, please feel free to submit a work item with that request.
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 20 '12, 1:53 a.m.Stefan Hoffmann
Nov 20 '12, 2:15 a.m.Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 20 '12, 6:31 p.m.Stefan Hoffmann
Nov 20 '12, 2:45 a.m.Stefan Hoffmann
Nov 20 '12, 3:26 a.m.