diff options
Diffstat (limited to 'pysite/constants.py')
-rw-r--r-- | pysite/constants.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pysite/constants.py b/pysite/constants.py index 71335e5e..737f3a7a 100644 --- a/pysite/constants.py +++ b/pysite/constants.py @@ -21,12 +21,14 @@ class ValidationTypes(Enum): DEBUG_MODE = "FLASK_DEBUG" in environ -OWNER_ROLE = 267627879762755584 -ADMIN_ROLE = 267628507062992896 -MODERATOR_ROLE = 267629731250176001 -DEVOPS_ROLE = 409416496733880320 -HELPER_ROLE = 267630620367257601 -CONTRIB_ROLE = 295488872404484098 +# All snowflakes should be strings as RethinkDB rounds them as ints + +OWNER_ROLE = "267627879762755584" +ADMIN_ROLE = "267628507062992896" +MODERATOR_ROLE = "267629731250176001" +DEVOPS_ROLE = "409416496733880320" +HELPER_ROLE = "267630620367257601" +CONTRIB_ROLE = "295488872404484098" ALL_STAFF_ROLES = (OWNER_ROLE, ADMIN_ROLE, MODERATOR_ROLE, DEVOPS_ROLE) EDITOR_ROLES = ALL_STAFF_ROLES + (HELPER_ROLE, CONTRIB_ROLE) |