Skip to content

Instantly share code, notes, and snippets.

@tsatsujnr139
Created April 21, 2021 23:28
Show Gist options
  • Save tsatsujnr139/aebf46804d0d328528bddf46a832852a to your computer and use it in GitHub Desktop.
Save tsatsujnr139/aebf46804d0d328528bddf46a832852a to your computer and use it in GitHub Desktop.
class Role:
"""
Constants for the various roles scoped in the application ecosystem
"""
GUEST = {
"name": "GUEST",
"description": "A Guest Account",
}
ACCOUNT_ADMIN = {
"name": "ACCOUNT_ADMIN",
"description": "Primary Administrator/Superuser For an Account",
}
ACCOUNT_MANAGER = {
"name": "ACCOUNT_MANAGER",
"description": "Day to Day Administrator of Events For an Account",
}
ADMIN = {
"name": "ADMIN",
"description": "Admin of Application Ecosystem",
}
SUPER_ADMIN = {
"name": "SUPER_ADMIN",
"description": "Super Administrator of Application Ecosystem",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment