RC-4: move authRoles to src/app/configs

This commit is contained in:
2023-06-22 19:56:33 +01:00
parent b11e5db2e7
commit cc6c57655e
14 changed files with 34 additions and 178 deletions

View File

@@ -0,0 +1,11 @@
/**
* Authorization Roles
*/
const authRoles = {
admin: ['admin'],
staff: ['admin', 'staff'],
user: ['admin', 'staff', 'user'],
onlyGuest: [],
};
export default authRoles;