1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Fixing an issue with power user not being usable.

This commit is contained in:
mike12345567 2020-12-08 12:20:37 +00:00
parent 1c73786226
commit 79cfc5ea01
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ const USERS_TABLE_SCHEMA = {
constraints: {
type: "string",
presence: false,
inclusion: Object.keys(BUILTIN_ROLE_IDS),
inclusion: Object.values(BUILTIN_ROLE_IDS),
},
},
},

View file

@ -4,7 +4,7 @@ const { BUILTIN_PERMISSION_IDS } = require("./permissions")
const BUILTIN_IDS = {
ADMIN: "ADMIN",
POWER: "POWER_USER",
POWER: "POWER",
BASIC: "BASIC",
PUBLIC: "PUBLIC",
BUILDER: "BUILDER",