Restrict the deliver access to the specific set of folders in a component of a particular stream.
Hi All,
We have a requirement where we want to restrict the deliver access to the specific set of folders in a component of a particular stream.
All project area users must be having only Read access to these folders ( This folders must be visible and users must be able to checkout )
One of the approach we tried :
Restricting using Team Area:
• Created test Team Area - Test_SCM
• Changed the access control of the specific folder to the Test_SCM
• Added sample users to validate the scenario.
Impact:
• Issue we faced with this approach is that apart from these sample users, other users are not able to view the specific folder itself. In other words, users who are not part of the Team Area couldn’t even read/view that folder in all the streams.
Kindle help us with the suitable approach for this requirement as we were only able to lock the files, components and stream not the folders in RTC. There are more than 50 files in each folder and it is time consuming to lock/unlock every file.
Thanks,
Vinay
2 answers
One way to achieve this is to create a new role and assign to those users that have permission to deliver the files and use "Restrict Changes to Items" precondition.
1) In the create a new configuration wizard, select Source Control -> Deliver Phase 2 operation. Make this configuration apply to "Everyone" in the next page.
Add the precondition, Restrict Changes to Items. For this precondition, select the stream, set Matching Changes as "Prevented" and add all the files you want to be write protected. Note: You can only protect files at the moment.
2) Again add a new configuration, select Source Control -> Deliver Phase 2 operation. Make this configuration apply to the "New Role" in the next page.
Add the precondition, Restrict Changes to Items. For this precondition, select the stream, set Matching Changes as "Allowed" and add all the files you want to be write protected. Note: You can only protect files at the moment.
Another way is to write a custom advisor similar to "Restrict Changes to Items" and allow selection of folders/files and also roles/users/groups.
Your requirement is not completely clear to me. You have components and you want access to the content, but you want to select folders that can be delivered to/or sleect folders that can not be delivered to/changed? Who can deliver there and how would one know not to do it?
These are the ways to control such kind of stuff: https://jazz.net/library/article/215 .
You can find more articles about the SCM here: https://jazz.net/library/#sort=pubDate&tag=SCM
In addition to that, there are advisors that provides the capability to "Restrict Change Set Delivery to Components in a Stream" and "Restrict Delivery to Streams". This is also not on file or folder level.
I am not sure if there is a built in capability. It might be possible to create custom check in and deliver advisors that do what you want. This is a complex task and requires Eclipse, Java and API knowledge.
BTW: Read protection is read protection and if you don't have read access, you can not access the data obviously.