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

Can I stop another developer from changing a file?

In RTC 4.0.4 I can lock a file to prevent other users from editing the same file.  The documentation says that a "A resource that you have locked is displayed as an incoming pending change to other users." Unfortunately the Pending Changes window doesn't show anything for other users after I lock a file.

We can all however see the lock icon in Project Explorer, but a there is nothing to stop others from editing the file or even checking in changes to the file.  Is there a better way of preventing other users from editing a file?

0 votes


Accepted answer

Permanent link

This request has been made possible by the delivery of the 'Pessimistic Locking' feature in RTC 5.0.2.

Note: There are some limitations if editing files outside of the RTC rich clients.


For more information on this feature see:

New & Noteworthy: https://jazz.net/downloads/rational-team-concert/releases/5.0.2?p=news#pessimisticLocking

Video: https://www.youtube.com/watch?v=8pVwY3ByYnQ

Michael Valenta selected this answer as the correct answer

0 votes


2 other answers

Permanent link

What you are looking for is an pessimistic locking which is not available in Team Concert (prior to RTC 5.0.2)

To be correct, a lock does not prevent others from editing but just from delivering the changes to a locked stream.

You might look and vote for that work item...

1 vote

Comments

Thanks.  I can see the work item, but how do I vote for it?

You should be able to leave a comment - see at the bottom of the page.


Permanent link

No it is not possible (prior to RTC 5.0.2)

0 votes

Comments

What is not possible?

Sorry, this is the answer to my question in the title "Can I stop another developer from changing a file?".

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
× 12,019
× 1,202
× 67
× 56

Question asked: Jan 10 '14, 11:02 a.m.

Question was seen: 5,859 times

Last updated: Oct 10 '17, 1:49 p.m.

Confirmation Cancel Confirm