1
0
Fork 0
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:
Markus Thielker 2025-04-04 19:32:26 +02:00 committed by Markus Thielker
parent 0b81a02fba
commit 6b80e93bf0
4 changed files with 29 additions and 16 deletions

View 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',
};