This website requires JavaScript.
Explore
Help
Sign In
OpenCloud
/
PeerTube
mirror of
https://github.com/Chocobozzz/PeerTube
Watch
1
Star
0
Fork
You've already forked PeerTube
0
Code
Issues
Releases
Wiki
Activity
2873a53efd
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 16:55:03 +02:00
// Keep the order
Resolve enums at compile time
2021-12-28 15:30:36 +01:00
export
const
enum
UserRole
{
Support roles with rights and add moderator role
2017-10-27 16:55:03 +02:00
ADMINISTRATOR
=
0
,
MODERATOR
=
1
,
USER
=
2
}