Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Means of locking a file that is risky to merge

Hi

Our team is trying to set a team role permission to allow files to be locked to prevent concurrent development. But the setting appears to have no effect. We are using RTC 3.0.1. Below is a description of what we require, how we attempted to configure RTC for this purpose and the error that the user continues to receive.

Are we missing something?


What we need:

As a team of 4 working with a file type that is both difficult and risky to merge we need a means of locking the file to prevent concurrent development.
Only the team member holding the lock should be allowed to modify the file. The locking mechanism must operate at the file level if it is to be a pragmatic solution.

What we have done:

Configured the Team Member role to allow locking by checking "Locking" as a permitted action under Save Stream (server) / Modify / Stream - (within Team Configuration Permissions).

We still get this error when attempting to lock a file:

"In order to carry out this operation, you would need permission to perform the following additional actions: Acquire, Release or Transfer locks. ID: modify/stream/locks/manage"

Please help.

0 votes



One answer

Permanent link
Hi,

please read: https://jazz.net/library/article/291

The permissions have to be set in the context that owns the stream, check who owns it. The top level Team Configuration is for the project. You have to make sure the user has the role with the permission granted in that context.

Locking is a manual process out of the box today. I have heard other users have created extensions to automate it. There is a work item to support pessimistic locking.

0 votes

Comments
Hi,

please read: https://jazz.net/library/article/291

The permissions have to be set in the context that owns the stream, check who owns it. The top level Team Configuration is for the project. You have to make sure the user has the role with the permission granted in that context.

Locking is a manual process out of the box today. I have heard other users have created extensions to automate it. There is a work item to support pessimistic locking.



Thank you Ralph. We had been setting the role permission within the team configuration only. Now it is set for the project timeline and the locking looks to be working now. Thanks for the pointer.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,202
× 79
× 66
× 56

Question asked: Mar 02 '12, 8:07 a.m.

Question was seen: 5,298 times

Last updated: Oct 10 '17, 3:08 p.m.

Confirmation Cancel Confirm