add valid roles
This commit is contained in:
1 parent
c4d42dd9e3
commit
73f2f29c2a
1 file changed
+2
@@ -5,6 +5,8 @@ export const ROLES = {
|
||||
DEMO: "demo",
|
||||
};
|
||||
|
||||
export const VALID_ROLES = [ROLES.ADMIN, ROLES.USER, ROLES.DEMO];
|
||||
|
||||
export const EDITABLE_ROLES = [
|
||||
{ role: ROLES.ADMIN, _id: ROLES.ADMIN },
|
||||
{ role: ROLES.USER, _id: ROLES.USER },
|
||||
|
||||
Reference in new issue
Block a user