aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/users/user-right.enum.ts
blob: 42e5c8cd637c8737984546d420d3d63bbc06c01a (plain) (tree)
1
2
3
4
5
6
7
8
9
                             
          
 
                   
 
                           
 
                  
 
                   
 
                               
 
                    
 
                  
 

                                  
 

                                 
 

                                
 


                                 
 

                                 
 



                              
 
                      
 
                                  
 

                             
 


                            
 
export const enum UserRight {
  ALL = 0,

  MANAGE_USERS = 1,

  MANAGE_SERVER_FOLLOW = 2,

  MANAGE_LOGS = 3,

  MANAGE_DEBUG = 4,

  MANAGE_SERVER_REDUNDANCY = 5,

  MANAGE_ABUSES = 6,

  MANAGE_JOBS = 7,

  MANAGE_CONFIGURATION = 8,
  MANAGE_INSTANCE_CUSTOM_PAGE = 9,

  MANAGE_ACCOUNTS_BLOCKLIST = 10,
  MANAGE_SERVERS_BLOCKLIST = 11,

  MANAGE_VIDEO_BLACKLIST = 12,
  MANAGE_ANY_VIDEO_CHANNEL = 13,

  REMOVE_ANY_VIDEO = 14,
  REMOVE_ANY_VIDEO_PLAYLIST = 15,
  REMOVE_ANY_VIDEO_COMMENT = 16,

  UPDATE_ANY_VIDEO = 17,
  UPDATE_ANY_VIDEO_PLAYLIST = 18,

  GET_ANY_LIVE = 19,
  SEE_ALL_VIDEOS = 20,
  SEE_ALL_COMMENTS = 21,
  CHANGE_VIDEO_OWNERSHIP = 22,

  MANAGE_PLUGINS = 23,

  MANAGE_VIDEOS_REDUNDANCIES = 24,

  MANAGE_VIDEO_FILES = 25,
  RUN_VIDEO_TRANSCODING = 26,

  MANAGE_VIDEO_IMPORTS = 27,

  MANAGE_REGISTRATIONS = 28
}