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

Is it possible to lock a stream?

I see there will be function coming in 2.0 that will allow locking a
file in a stream. Is there, or will there be, a way to lock an entire
stream?

I see what can be delivered to a stream can be controlled thorough
process customization, but there doesn't appear to be a way to directlyt
lock a stream.

Thanks, Brian

0 votes


Accepted answer

Permanent link

In RTC 6.0.2 we added a feature that lets you lock streams and components to prevent deliveries to the files in those streams or components. Stream and component locks work in a similar manner to file locks but apply to the entire stream or the entire component in a stream. When a stream or component is locked, any attempted deliveries by users who do not own the lock will fail with an appropriate error message. The user that holds the lock can still perform deliveries to the stream. A lock does not only prevent deliveries, it also prevents any operation that affects the files in the locked component or stream. For example, a component replace is also prevented.

See:
-New & Noteworthy Mention: https://jazz.net/downloads/rational-team-concert/releases/6.0.2?p=newsDetails#stream-locking
-Stream/Component Locking Demo Video: https://www.youtube.com/watch?v=b8QwzwUF2ZY
-SCM Command Line Client 'set lock' command: https://www.ibm.com/support/knowledgecenter/SSCP65_6.0.4/com.ibm.team.scm.doc/topics/set_lock.html

Prior to 6.0.2, you could add a deliver advisor in the process spec to restrict deliveries to particular streams. By protecting your stream by particular roles or users, you can effectively lock the stream down.
"http://jazz.net/library/article/215#protect_some" describes how to protect individual components in a stream, the same approach can be used to lock down the entire stream.

Michael Valenta selected this answer as the correct answer

0 votes


2 other answers

Permanent link
We have changes coming in M3D1 which allow you to apply process to a
particular stream ... so it will be possible in 2.0 to effectively lock
a stream by revoking permissions to just that stream.

Hope this helps,
JohnC
SCM Server

Brian Gillan wrote:
I see there will be function coming in 2.0 that will allow locking a
file in a stream. Is there, or will there be, a way to lock an entire
stream?

I see what can be delivered to a stream can be controlled thorough
process customization, but there doesn't appear to be a way to directlyt
lock a stream.

Thanks, Brian

0 votes


Permanent link
There is also support in 1.0 to effectively lock a stream, simply move it to a team area in which no one has deliver permissions set. When you want to unlock it, move it back to the original team.
Jean-Michel

0 votes

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,381
× 79
× 67

Question asked: Mar 20 '09, 3:09 p.m.

Question was seen: 6,612 times

Last updated: Oct 06 '17, 4:07 p.m.

Confirmation Cancel Confirm