Is there any simple way to lock stream temporarily?
Accepted answer
The easiest way to temporarily modify permissions on a stream is to change the owner to a project/team area that has a very limited membership. The action can be performed with the commandline or rich UIs, and is very quick. It has the benefit of assigning a consistent set of behaviours to the stream, so that it can remain read-only, or modifiable by some subset of users.
There are alternatives, but they depend on your use case. Can you tell us a bit more about what you're trying to do?
If you want to lock streams regularly (during the endgame of a release, for example), you may want to consider assigning behaviour or permissions to iteration types.
Comments
Also, 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.