You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/admin/components/Roles/roles.js
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
exportconstroles=[
2
2
{
3
-
name: 'api-admin',
3
+
role: 'api-admin',
4
4
description:
5
5
'This role allows a user to access all list and search features available. Not possible for this role to perform edition nor deletion',
6
6
scopes: [
@@ -9,7 +9,7 @@ export const roles = [
9
9
],
10
10
},
11
11
{
12
-
name: 'api-viewer',
12
+
role: 'api-viewer',
13
13
description:
14
14
'This role allows a user to perform all possible actions on api objects',
15
15
scopes: [
@@ -18,7 +18,7 @@ export const roles = [
18
18
],
19
19
},
20
20
{
21
-
name: 'api-editor',
21
+
role: 'api-editor',
22
22
description:
23
23
'This role allow a user to list, search, add and edit on all available objects excepts the configuration object which is critical for a running server',
24
24
scopes: [
@@ -27,7 +27,7 @@ export const roles = [
27
27
],
28
28
},
29
29
{
30
-
name: 'api-manager',
30
+
role: 'api-manager',
31
31
description:
32
32
'This role allows a user to list, search, add, edit and delete all available objects include the configuration object(only in view mode). The user cannot edit nor delete the configuration object.',
0 commit comments