mirror of
				https://github.com/owncast/owncast.git
				synced 2025-10-31 10:08:10 +08:00 
			
		
		
		
	 2ccd3aad87
			
		
	
	2ccd3aad87
	
	
	
		
			
			* It builds with the new user repository * fix(test): fix broken test * fix(api): fix registration endpoint that was broken after the change * fix(test): update test to reflect new user repository * fix: use interface type instead of concrete type * fix: restore commented out code
		
			
				
	
	
		
			13 lines
		
	
	
		
			443 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			443 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package models
 | |
| 
 | |
| const (
 | |
| 	// ScopeCanSendChatMessages will allow sending chat messages as itself.
 | |
| 	ScopeCanSendChatMessages = "CAN_SEND_MESSAGES"
 | |
| 	// ScopeCanSendSystemMessages will allow sending chat messages as the system.
 | |
| 	ScopeCanSendSystemMessages = "CAN_SEND_SYSTEM_MESSAGES"
 | |
| 	// ScopeHasAdminAccess will allow performing administrative actions on the server.
 | |
| 	ScopeHasAdminAccess = "HAS_ADMIN_ACCESS"
 | |
| 
 | |
| 	ModeratorScopeKey = "MODERATOR"
 | |
| )
 |