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

How to prevent a role creating components?

Hi all, I'm seeking to restrict creation of new components (RTC 4.0.7) to administrative users.  It should still be possible for certain roles to be able to add existing components to streams.

I thought I could do this by removing the permission 'Save Component (server) / Modify / Component / Add a component to a project/team area' from all except the one admin role I have defined but this doesn't seem to have worked as a 'normal' user has managed to create a component in a stream, so I must have missed something.

Can someone advise the best way to do this please?

0 votes


Accepted answer

Permanent link
Note that there is currently no way to prevent anyone from creating a private component of their own.   What you can control is who can add (or remove) components to a particular stream.   Just for interest's sake, why do you care whether someone creates some private component for them to experiment with?   Note that there is an enhancement request to be able to control this: Want to be able to control who is allowed to create a component (95350)
Cliff Gardiner selected this answer as the correct answer

0 votes

Comments

Hi Geoffrey,

thanks for your response.  It's not the answer I was hoping for (!) but the enhancement you mention should give the measure of control I'm looking for.

The reason I want this concerns management of a Production environment with multiple project areas and hundreds of users.  I'm seeking to keep it as clean as reasonably possible and don't want untold numbers of components (that can't be deleted) created by users outside standard processes.  Also components names are mandated as unique within the repository so uncontrolled creation can cause unwanted knock-on effects.  Experience shows that when users with limited knowledge have unfettered access then a mess is created that someone - not them - has to deal with!

I personally agree that one should be able to control who is allowed to create components in a repository, for the reasons you mention (which you probably could guess since I submitted that enhancement request :-).
But note that components by default are created as "private" which means nobody else will see them ... so any mess created by someone playing around will not be visible to anyone else, unless the owner explicitly modifies the visibility of the component to be "public".


One other answer

Permanent link
Hi Cliff,

Can you please refer the below image and un check the permission in respective role and see does it helps.

 

Regards,
Arun.

0 votes

Comments

Hi Arun, thanks but that will also prevent adding an existing component to a stream.  It's specifically creation of new components I want to control; I think unchecking the whole of Save Component (server) will do the trick but that seems like a sledgehammer to crack a nut.

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
× 6,131

Question asked: Oct 12 '15, 7:20 a.m.

Question was seen: 2,528 times

Last updated: Oct 19 '15, 5:51 p.m.

Confirmation Cancel Confirm