diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-27 16:55:03 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-27 16:55:03 +0200 |
commit | 954605a804da399317ca62afa2fb9244afa11ebf (patch) | |
tree | de6ee69280bfb928bc01c29430e13d5b820e921a /shared/models/users/user-right.enum.ts | |
parent | e02573ad67626210ed279bad321ee139094921a1 (diff) | |
download | PeerTube-954605a804da399317ca62afa2fb9244afa11ebf.tar.gz PeerTube-954605a804da399317ca62afa2fb9244afa11ebf.tar.zst PeerTube-954605a804da399317ca62afa2fb9244afa11ebf.zip |
Support roles with rights and add moderator role
Diffstat (limited to 'shared/models/users/user-right.enum.ts')
-rw-r--r-- | shared/models/users/user-right.enum.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/users/user-right.enum.ts b/shared/models/users/user-right.enum.ts new file mode 100644 index 000000000..c8c710450 --- /dev/null +++ b/shared/models/users/user-right.enum.ts | |||
@@ -0,0 +1,10 @@ | |||
1 | export enum UserRight { | ||
2 | ALL, | ||
3 | MANAGE_USERS, | ||
4 | MANAGE_PODS, | ||
5 | MANAGE_VIDEO_ABUSES, | ||
6 | MANAGE_REQUEST_SCHEDULERS, | ||
7 | MANAGE_VIDEO_BLACKLIST, | ||
8 | REMOVE_ANY_VIDEO, | ||
9 | REMOVE_ANY_VIDEO_CHANNEL, | ||
10 | } | ||