We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4242c59 commit 5981b50Copy full SHA for 5981b50
client/packages/lowcoder/src/constants/orgConstants.ts
@@ -7,8 +7,8 @@ export const MEMBER_ROLE = "member";
7
8
export const NEW_ORG_PREFIX = trans("orgSettings.newOrg");
9
10
-export const TacoRoles = [SUPER_ADMIN_ROLE, ADMIN_ROLE, MEMBER_ROLE] as const;
11
-export type RoleIdType = typeof TacoRoles[number];
+export const TacoRoles = [ADMIN_ROLE, MEMBER_ROLE] as const;
+export type RoleIdType = typeof TacoRoles[number] | "super_admin";
12
type RoleInfoType = Record<RoleIdType, { name: string; desc: string }>;
13
14
export const GroupRoleInfo: RoleInfoType = {
0 commit comments