aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-create.model.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-27 16:55:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-27 16:55:03 +0200
commit954605a804da399317ca62afa2fb9244afa11ebf (patch)
treede6ee69280bfb928bc01c29430e13d5b820e921a /shared/models/users/user-create.model.ts
parente02573ad67626210ed279bad321ee139094921a1 (diff)
downloadPeerTube-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.ts3
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 @@
1import { UserRole } from './user-role'
2
1export interface UserCreate { 3export 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}