GET Role Permissions
GET /admin/role/{role}/permission
Get role permissions. For the list of available permissions, see the YouTrack Permissions page.
GET /rest/admin/role/{role}/permission
Parameters:
Name | Type | Description |
---|---|---|
role | roleByName | Name of a role. |
Sample
Request:
GET /admin/role/Admin/permission
Response:
<permissions>
<permission name="READ_ISSUE" description="Read Issue"/>
<permission name="UPDATE_ISSUE" description="Update Issue"/>
<permission name="CREATE_ISSUE" description="Create Issue"/>
<permission name="DELETE_ISSUE" description="Delete Issue"/>
<permission name="LINK_ISSUE" description="Link Issues"/>
<permission name="UPDATE_ATTACHMENT_ISSUE" description="Add Attachment"/>
<permission name="DELETE_ATTACHMENT_ISSUE" description="Delete Attachment"/>
<permission name="CREATE_COMMENT" description="Create Comment"/>
<permission name="READ_COMMENT" description="Read Comment"/>
<permission name="UPDATE_COMMENT" description="Update Comment"/>
<permission name="DELETE_COMMENT" description="Delete Comment"/>
<permission name="UPDATE_NOT_OWN_COMMENT" description="Update Not Own Comment"/>
<permission name="DELETE_NOT_OWN_COMMENT" description="Delete Not Own Comment"/>
<permission name="READ_USER" description="Read User"/>
<permission name="UPDATE_USER" description="Update User"/>
<permission name="CREATE_USER" description="Create User"/>
<permission name="DELETE_USER" description="Delete User"/>
<permission name="READ_ROLE" description="Read Role"/>
<permission name="UPDATE_ROLE" description="Update Role"/>
<permission name="CREATE_ROLE" description="Create Role"/>
<permission name="DELETE_ROLE" description="Delete Role"/>
<permission name="CREATE_PROJECT" description="Create Project"/>
<permission name="READ_PROJECT" description="Read Project"/>
<permission name="UPDATE_PROJECT" description="Update Project"/>
<permission name="DELETE_PROJECT" description="Delete Project"/>
<permission name="ADMIN_APP" description="Low-level Administration"/>
<permission name="READ_PROFILE" description="Read Profile"/>
<permission name="READ_NOT_OWN_PROFILE" description="Read Not Own Profile"/>
<permission name="UPDATE_PROFILE" description="Update Profile"/>
<permission name="UPDATE_NOT_OWN_PROFILE" description="Update Not Own Profile"/>
<permission name="CREATE_WATCH_FOLDER" description="Create Tag or Saved Search"/>
<permission name="UPDATE_WATCH_FOLDER" description="Edit Tag or Saved Search"/>
<permission name="DELETE_WATCH_FOLDER" description="Delete Tag or Saved Search"/>
<permission name="SHARE_WATCH_FOLDER" description="Share Tag or Saved Search"/>
<permission name="READ_USERGROUP" description="Read Usergroup"/>
<permission name="CREATE_USERGROUP" description="Create Usergroup"/>
<permission name="UPDATE_USERGROUP" description="Update Usergroup"/>
<permission name="DELETE_USERGROUP" description="Delete Usergroup"/>
<permission name="VIEW_WATCHERS" description="View Watchers"/>
<permission name="UPDATE_WATCHERS" description="Update Watchers"/>
<permission name="VIEW_VOTERS" description="View Voters"/>
<permission name="UPDATE_VOTERS" description="Update Voters"/>
<permission name="PRIVATE_READ_ISSUE" description="Read Issue Private Fields"/>
<permission name="PRIVATE_UPDATE_ISSUE" description="Update Issue Private Fields"/>
</permissions>
Last modified: 7 March 2019