mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 13:24:33 +03:00
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
12 lines
443 B
Go
12 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"
|
|
)
|