fix: more bugs

This commit is contained in:
swve 2023-07-08 13:26:23 +01:00
parent b069f1badf
commit 687f7b2116
5 changed files with 20 additions and 6 deletions

View file

@ -14,9 +14,9 @@ export const AuthenticatedClientElement = (props: AuthenticatedClientElementProp
// Available roles
const org_roles_values = ["admin", "owner"];
const user_roles_values = ["role_admin"];
const user_roles_values = ["role_admin", "role_super_admin"];
function checkRoles() {
const org_id = props.orgId;