Get the privileges of the specified role
get/roles/{roleId}/privileges
Returns the privileges of the role by ID.
Authorization: Requires read access to the role context.
1{2 "summary": "All privileges that can be assigned to a role",3 "value": {4 "links": [5 {6 "method": "GET",7 "rel": "self",8 "href": "/clinicalRepository/roles/privileges?start=0&limit=10",9 "uri": "/clinicalRepository/roles/privileges?start=0&limit=10",10 "type": "application/vnd.sas.collection",11 "itemType": "application/vnd.sas.clinical.role.privilege+json"12 },13 {14 "method": "GET",15 "rel": "collection",16 "href": "/clinicalRepository/roles/privileges",17 "uri": "/clinicalRepository/roles/privileges",18 "type": "application/vnd.sas.collection",19 "itemType": "application/vnd.sas.clinical.role.privilege+json"20 }21 ],22 "name": "rolePrivileges",23 "accept": "application/vnd.sas.clinical.role.privilege+json",24 "start": 0,25 "count": 10,26 "items": [27 {28 "version": 1,29 "id": "PRIVILEGE_MANAGE_VERSIONING",30 "typeId": "privilege",31 "name": "Manage Versioning",32 "description": "Can enable/disable versioning as well as manage version retention limits."33 },34 {35 "version": 1,36 "id": "PRIVILEGE_MANAGE_STATE",37 "typeId": "privilege",38 "name": "Manage State",39 "description": "Can manage state"40 },41 {42 "version": 1,43 "id": "PRIVILEGE_RESTORE",44 "typeId": "privilege",45 "name": "Restore Items Deleted by Others",46 "description": "Can restore items deleted by others"47 },48 {49 "version": 1,50 "id": "PRIVILEGE_MANAGE_MEMBERSHIP",51 "typeId": "privilege",52 "name": "Manage Membership",53 "description": "Can manage membership"54 },55 {56 "version": 1,57 "id": "PRIVILEGE_PERMANENTLY_DELETE",58 "typeId": "privilege",59 "name": "Permanently Delete Items",60 "description": "Can permanently delete items"61 },62 {63 "version": 1,64 "id": "PRIVILEGE_MANAGE_LOCKS",65 "typeId": "privilege",66 "name": "Manage Locking",67 "description": "Can lock and unlock files"68 },69 {70 "version": 1,71 "id": "PRIVILEGE_SIGN_FILE",72 "typeId": "privilege",73 "name": "Sign Files",74 "description": "Can sign files"75 },76 {77 "version": 1,78 "id": "PRIVILEGE_MANAGE_ROLES",79 "typeId": "privilege",80 "name": "Manage Roles",81 "description": "Can manage roles"82 },83 {84 "version": 1,85 "id": "PRIVILEGE_ACL_PROPAGATION",86 "typeId": "privilege",87 "name": "Propagate Permissions",88 "description": "Can propagate permission changes down repository hierarchy."89 },90 {91 "version": 1,92 "id": "PRIVILEGE_ENABLE_VERSIONING",93 "typeId": "privilege",94 "name": "Enable Versioning",95 "description": "Can enable versioning"96 }97 ],98 "limit": 10,99 "version": 2100 }101}