Get all privileges

get/roles/privileges
Internal-Use Only

Returns all privileges that can be defined to a role.

Request Samples

1

Response Samples

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

Responses

StatusMeaningDescription
200OKOKSchema