2016-07-03 19:55:03 +00:00
|
|
|
package common
|
|
|
|
|
2016-07-03 22:06:23 +00:00
|
|
|
// user/admin privileges
|
2016-07-03 19:55:03 +00:00
|
|
|
const (
|
|
|
|
UserPrivilegePublic = 1 << iota
|
|
|
|
UserPrivilegeNormal
|
|
|
|
UserPrivilegeDonor
|
|
|
|
AdminPrivilegeAccessRAP
|
|
|
|
AdminPrivilegeManageUsers
|
|
|
|
AdminPrivilegeBanUsers
|
|
|
|
AdminPrivilegeSilenceUsers
|
|
|
|
AdminPrivilegeWipeUsers
|
|
|
|
AdminPrivilegeManageBeatmap
|
|
|
|
AdminPrivilegeManageServer
|
|
|
|
AdminPrivilegeManageSetting
|
|
|
|
AdminPrivilegeManageBetaKey
|
|
|
|
AdminPrivilegeManageReport
|
|
|
|
AdminPrivilegeManageDocs
|
|
|
|
AdminPrivilegeManageBadges
|
|
|
|
AdminPrivilegeViewRAPLogs
|
|
|
|
AdminPrivilegeManagePrivilege
|
|
|
|
AdminPrivilegeSendAlerts
|
|
|
|
AdminPrivilegeChatMod
|
|
|
|
AdminPrivilegeKickUsers
|
|
|
|
)
|