sync permissions with backend
This commit is contained in:
parent
542f157b49
commit
28224960a0
|
@ -1,12 +1,17 @@
|
|||
export const PERMISSIONS = {
|
||||
// Kann andere Nutzer bearbeiten
|
||||
/* User permissions */
|
||||
// Can edit other users
|
||||
EDIT_OTHER: 'users_edit_other',
|
||||
// Kann Rollen von Nutzern setzen
|
||||
// Can assign roles to users
|
||||
SET_ROLES: 'users_set_roles',
|
||||
// Kann Nutzer löschen
|
||||
DELETE: 'users_delete_other',
|
||||
// Kann neue Nutzer hinzufügen
|
||||
// Can delete users
|
||||
DELETE: 'users_delete',
|
||||
// Can register new users
|
||||
REGISTER: 'users_register',
|
||||
// Kann Rollen löschen oder bearbeiten, z.b. Rechte hinzufügen etc
|
||||
|
||||
/* Role permissions */
|
||||
// Can edit roles, assign permissions to roles and change names
|
||||
ROLES_EDIT: 'roles_edit',
|
||||
// Can delete roles
|
||||
ROLES_DELETE: 'roles_delete',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue