How to assign a repository permission to a contributer
Hallo,
I created a contributer like that: contributerToAdd = (IContributor) IContributor.ITEM_TYPE.createItem(); contributerToAdd.setName(AddUserName); contributerToAdd.setEmailAddress(AddUserEmailAddress); contributerToAdd.setUserId(AddUserUserId); repository.contributorManager().saveContributor(contributerToAdd, null); Can somebody please tell me, how I can assign a repository permission e.g. JazzUsers. |
One answer
Any update on this? I'm having the same problem
Comments
joe meagher
commented Jan 07 '15, 12:18 p.m.
FYI, solved it using http://www.joshuabambrick.com/assign-repository-permissions-rtc/
Had to create user using IContributor, then ALSO create IExternalUser using API described in above link (addExternalUser, not addUserToGroup). part of the external user contains the "Group" which is JazzAdmins, JazzUsers, etc.
Kevin Ramer
commented Jan 07 '15, 2:40 p.m.
If your external registry is not writeable ( e.g. not under direct management by Tomcat or a WebSphere domain ) it is necessary to use other means of adding the user association to the Jazz role mappings
|
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.