This website requires JavaScript.
Explore
Help
Sign in
forks
/
peertube
Watch
1
Star
0
Fork
You've already forked peertube
0
Code
Releases
Activity
b52f504848
peertube
/
shared
/
models
/
users
/
user-role.ts
7 lines
98 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Support roles with rights and add moderator role
2017-10-27 10:55:03 -04:00
// Keep the order
Resolve enums at compile time
2021-12-28 09:30:36 -05:00
export
const
enum
UserRole
{
Support roles with rights and add moderator role
2017-10-27 10:55:03 -04:00
ADMINISTRATOR
=
0
,
MODERATOR
=
1
,
USER
=
2
}
Copy permalink