Support roles with rights and add moderator role
This commit is contained in:
parent
e02573ad67
commit
954605a804
51 changed files with 378 additions and 139 deletions
10
shared/models/users/user-right.enum.ts
Normal file
10
shared/models/users/user-right.enum.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
export enum UserRight {
|
||||
ALL,
|
||||
MANAGE_USERS,
|
||||
MANAGE_PODS,
|
||||
MANAGE_VIDEO_ABUSES,
|
||||
MANAGE_REQUEST_SCHEDULERS,
|
||||
MANAGE_VIDEO_BLACKLIST,
|
||||
REMOVE_ANY_VIDEO,
|
||||
REMOVE_ANY_VIDEO_CHANNEL,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue