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