1
0
Fork 0
peertube/shared/models/users/user-right.enum.ts
Chocobozzz 2539932e16
Instance homepage support (#4007)
* Prepare homepage parsers

* Add ability to update instance hompage

* Add ability to set homepage as landing page

* Add homepage preview in admin

* Dynamically update left menu for homepage

* Inject home content in homepage

* Add videos list and channel miniature custom markup

* Remove unused elements in markup service
2021-05-27 15:59:55 +02:00

42 lines
604 B
TypeScript

export const enum UserRight {
ALL,
MANAGE_USERS,
MANAGE_SERVER_FOLLOW,
MANAGE_LOGS,
MANAGE_DEBUG,
MANAGE_SERVER_REDUNDANCY,
MANAGE_ABUSES,
MANAGE_JOBS,
MANAGE_CONFIGURATION,
MANAGE_INSTANCE_CUSTOM_PAGE,
MANAGE_ACCOUNTS_BLOCKLIST,
MANAGE_SERVERS_BLOCKLIST,
MANAGE_VIDEO_BLACKLIST,
REMOVE_ANY_VIDEO,
REMOVE_ANY_VIDEO_CHANNEL,
REMOVE_ANY_VIDEO_PLAYLIST,
REMOVE_ANY_VIDEO_COMMENT,
UPDATE_ANY_VIDEO,
UPDATE_ANY_VIDEO_PLAYLIST,
GET_ANY_LIVE,
SEE_ALL_VIDEOS,
SEE_ALL_COMMENTS,
CHANGE_VIDEO_OWNERSHIP,
MANAGE_PLUGINS,
MANAGE_VIDEOS_REDUNDANCIES
}