mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: more bugs
This commit is contained in:
parent
b069f1badf
commit
687f7b2116
5 changed files with 20 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue