mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-07-04 13:59:17 +00:00
NORY-59: introduce permission constants
This commit is contained in:
parent
0b81a02fba
commit
6b80e93bf0
4 changed files with 29 additions and 16 deletions
16
dashboard/src/lib/permission.ts
Normal file
16
dashboard/src/lib/permission.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
const permission = {
|
||||
stack: {
|
||||
status: 'admin.stack.status',
|
||||
},
|
||||
user: {
|
||||
it: 'admin.user',
|
||||
session: 'admin.user.session',
|
||||
state: 'admin.user.state',
|
||||
},
|
||||
};
|
||||
|
||||
const relation = {
|
||||
access: 'access',
|
||||
edit: 'edit',
|
||||
delete: 'delete',
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue