It's all about the answers!

Ask a question

How to restrict access to one of a component within a stream


Pravin Patil (104142133) | asked Feb 13 '15, 12:39 a.m.
 Hi,

I have a stream with 2 components in it.
  1. I want "User 1" should be able to write and read to "Component 1", however "User 2" should only be able to read and NOT write/upload to "Component 1".
  2. "User 1" and "User 2" should be able to read and write to "Component 2".
Please let me know how to achieve this.



Comments
Pravin Patil commented Feb 18 '15, 3:25 p.m.
Project Area name: pspravin
Stream Name: Stream-A
Component name: Componenet-AA
User1: Role=Developer, Jazzuser
admin_user: Role=All roles, Jazz admin

Here is what I tried,

In Project Area > Process Configuration > Team Configuration > Operations Behavior >>>>> Source Control > Deliver (Server) > Choosed "Project Manager" and added a precondition "Restrict Change Set Delivery to Components in a Stream", and added that only project_manager should be have access to it.
So now the precondition looks like - "Component AA", Permissions "pspravin [project_manager]"

But still User1, who is having a developer role is able to checkin and deliver a changeset. 

Please suggest.


Evan Hughes commented Feb 18 '15, 3:32 p.m.
JAZZ DEVELOPER

What role did you add the precondition to? That advisor should be configured for 'Everyone'.


Pravin Patil commented Feb 18 '15, 3:59 p.m.

Precondition now looks like -

"Component AA", Permissions "pspravin [project_manager]"
So only Project Manager should be able to deliver the componentAA, correct?
But Developer is able to deliver too.


Pravin Patil commented Feb 18 '15, 4:04 p.m.

 Thanks Evan, this worked!

One answer



permanent link
Ralph Schoon (63.2k33646) | answered Feb 13 '15, 4:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
What I can think of is to use the pre-condition/operational behavior Source Control Deliver(Server) named Restrict Change Set Delivery to Components in a Stream

Your answer


Register or 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.