Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
export const roles = [
{
role: 'api-admin',
role: 'api-viewer',
description:
'This role allows a user to access all list and search features available. Not possible for this role to perform edition nor deletion',
'Allows a user to view and search all available objects. No permissions to create, edit, or delete.',
scopes: [
'https://jans.io/oauth/config/attributes.readonly',
'https://jans.io/oauth/config/acrs.readonly',
],
},
{
role: 'api-viewer',
description: 'This role allows a user to perform all possible actions on api objects',
role: 'api-editor',
description:
'Allows a user to view, search, add, and edit all objects except critical configuration objects, which can only be viewed.',
scopes: [
'https://jans.io/oauth/config/attributes.readonly',
'https://jans.io/oauth/config/acrs.readonly',
],
},
{
role: 'api-editor',
role: 'api-manager',
description:
'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',
'Allows a user to view, search, add, edit, and delete all objects, except that configuration objects can only be viewed, not modified.',
scopes: [
'https://jans.io/oauth/config/attributes.readonly',
'https://jans.io/oauth/config/acrs.readonly',
],
},
{
role: 'api-manager',
role: 'api-admin',
description:
'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.',
'Grants full administrative access, including viewing, creating, editing, and deleting all objects, including configuration objects.',
scopes: [
'https://jans.io/oauth/config/attributes.readonly',
'https://jans.io/oauth/config/acrs.readonly',
Expand Down