♻️(models) rename document/template access rights

The "member" access right does not make sense for documents and templates.
What we really need are "editor" and "reader" access rights.
This commit is contained in:
Samuel Paccoud - DINUM
2024-05-25 08:15:34 +02:00
committed by Samuel Paccoud
parent 51325df7d9
commit 926fe37e85
22 changed files with 601 additions and 265 deletions

View File

@@ -12,7 +12,8 @@ export interface Access {
}
export enum Role {
MEMBER = 'member',
READER = 'reader',
EDITOR = 'editor',
ADMIN = 'administrator',
OWNER = 'owner',
}

View File

@@ -1,5 +1,6 @@
export enum Role {
MEMBER = 'member',
READER = 'reader',
EDITOR = 'editor',
ADMIN = 'administrator',
OWNER = 'owner',
}