It's all about the answers!

Ask a question

Means of locking a file that is risky to merge


Des Nunan (623) | asked Mar 02 '12, 8:07 a.m.
edited Oct 10 '17, 3:08 p.m. by David Lafreniere (4.8k7)

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.

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Mar 02 '12, 12:18 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

Comments
Des Nunan commented Mar 05 '12, 11:54 a.m. | edited Oct 10 '17, 3:00 p.m.
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 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.