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-create.model.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-create.model.ts')
-rw-r--r-- | shared/models/users/user-create.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/users/user-create.model.ts b/shared/models/users/user-create.model.ts index 49fa2549d..65830f55e 100644 --- a/shared/models/users/user-create.model.ts +++ b/shared/models/users/user-create.model.ts | |||
@@ -1,6 +1,9 @@ | |||
1 | import { UserRole } from './user-role' | ||
2 | |||
1 | export interface UserCreate { | 3 | export interface UserCreate { |
2 | username: string | 4 | username: string |
3 | password: string | 5 | password: string |
4 | email: string | 6 | email: string |
5 | videoQuota: number | 7 | videoQuota: number |
8 | role: UserRole | ||
6 | } | 9 | } |