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

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

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link

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.

1 vote

Comments

Nice, was not aware of that!

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,013

Question asked: Sep 24 '20, 2:10 p.m.

Question was seen: 1,221 times

Last updated: Sep 25 '20, 6:31 a.m.

Confirmation Cancel Confirm