docbrown/app/lib/constants/role.rb
Fernando Valverde ada2d0c728
[deploy] Extracts DisplayAds from Administrate into admin (#10153)
* Extracts DisplayAds from Administrate into admin

* Suggested changes
2020-09-02 09:28:22 -06:00

22 lines
745 B
Ruby

module Constants
module Role
BASE_ROLES = ["Warn",
"Comment Ban",
"Ban",
"Regular Member",
"Trusted",
"Pro"].freeze
SPECIAL_ROLES = ["Admin",
"Super Admin",
"Resource Admin: Article",
"Resource Admin: Comment",
"Resource Admin: BufferUpdate",
"Resource Admin: ChatChannel",
"Resource Admin: Page",
"Resource Admin: FeedbackMessage",
"Resource Admin: Config",
"Resource Admin: Broadcast",
"Resource Admin: DisplayAd"].freeze
end
end