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

export the list of permssion for each role

I need to extract the list of roles & its permissions in excel or xml for DNG, RTC & AM. Can this be extracted using Plain Java or REST API ?
Excel would be good platform for Roles & Permissions discussion with the Business community.
Roles & Permissions are fixed to each context. can this be downloaded from somewhere.

0 votes



One answer

Permanent link

REST call to read the list of permissions in the project. this does not show the permission granted for each role.


https://server:port/ccm/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/permissionExtensions?context=1&processAreaItemId=projectUUID&owningApplicationKey=JTS-Sentinel-Id



REST call to add permission to a particular role:

https://server:port/ccm/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/projectArea

form POST:

    itemId "tT_swLp7Eemed5Qb7DsVmg"
    stateId "_7-KJgCJuEeupXY0yKf6Msg"
    owningApplicationKey "JTS-Sentinel-Id"
    jsonMembers "{}"
    jsonAdmins "{}"
    processLocale "en_US"
    jsonTeamConfigurationPermissions
{
  "granted": {
    "rolesToOperations": {
      "developer": {
        "com.ibm.team.build.server.saveBuildDefinition": [
          {
            "final": false,
            "explanation": "",
            "actionPaths": [
              "",
              "~#~#create",
              "~#_~#modify"
            ]
          }
        ]
      }
    }
  }
}
    publicVisible "false"
    memberVisible "true"
    specificUserVisible "false"

0 votes

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
× 7,487
× 1,316

Question asked: Nov 04 '20, 2:41 a.m.

Question was seen: 1,421 times

Last updated: Nov 09 '20, 5:31 a.m.

Confirmation Cancel Confirm