Restrict delivery to a stream to a specifc role for CC Synchronisation
RTC v3.0.1.4 & Clearcase 7.1.2.4
I have the Clearcase to RTC synchronising working but would now like to restrict delivery to the Sync Stream to only the designated Sync User.
I have created a new role called "Sync User" and assigned it to the Userid within the Team owning the stream but have not assigned it to the designated Sync Userid in the Project Area. No other user has this role.
In the Team Area I have set the Deliver (Server) Precondition for "restrict change set delivery" and set it for the Sync Stream and have restricted this to any user with the new Sync User role I created.
The pre-condition works and stops an ordinary user delivering to the stream but the CC_Synchronistaion also now fails with the following error
Caused by: com.ibm.team.process.common.advice.TeamOperationCanceledException: 'Deliver' failed. Preconditions have not been met: Error: Internal error
if i then remove the precondition the sync works again.
Any suggestions.
I have the Clearcase to RTC synchronising working but would now like to restrict delivery to the Sync Stream to only the designated Sync User.
I have created a new role called "Sync User" and assigned it to the Userid within the Team owning the stream but have not assigned it to the designated Sync Userid in the Project Area. No other user has this role.
In the Team Area I have set the Deliver (Server) Precondition for "restrict change set delivery" and set it for the Sync Stream and have restricted this to any user with the new Sync User role I created.
The pre-condition works and stops an ordinary user delivering to the stream but the CC_Synchronistaion also now fails with the following error
Caused by: com.ibm.team.process.common.advice.TeamOperationCanceledException: 'Deliver' failed. Preconditions have not been met: Error: Internal error
if i then remove the precondition the sync works again.
Any suggestions.
2 answers
When you configure the pre-condition, did you select the team area? You can select the role in the project or team area. If the project area was selected then your sync user doesn't have that role in the project area.
Alternatively, you can change the owner of the stream to the team area and set the roles so that only the sync user role can deliver. This may be a better configuration if you have multiple components in the stream.
Alternatively, you can change the owner of the stream to the team area and set the roles so that only the sync user role can deliver. This may be a better configuration if you have multiple components in the stream.
Comments
Hi Tim
When I configured the pre-condition I selected the Team Area and applied the Role to the Sync User in that Team Area. This is the same team area that owns the stream.
I've just logged onto RTC as the designated sync user and tried to deliver a change to the stream and that works. It appears to be only when it is part of the Syncronisation process that it gets the issue. Does that seem probable or likely?
If it doesn't work with the synchronizer, it might be something wrong with it. I suggest opening a defect against the CC synchronizer.