Skip to content

Commit 5981b50

Browse files
updated user role options
1 parent 4242c59 commit 5981b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/packages/lowcoder/src/constants/orgConstants.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export const MEMBER_ROLE = "member";
77

88
export const NEW_ORG_PREFIX = trans("orgSettings.newOrg");
99

10-
export const TacoRoles = [SUPER_ADMIN_ROLE, ADMIN_ROLE, MEMBER_ROLE] as const;
11-
export type RoleIdType = typeof TacoRoles[number];
10+
export const TacoRoles = [ADMIN_ROLE, MEMBER_ROLE] as const;
11+
export type RoleIdType = typeof TacoRoles[number] | "super_admin";
1212
type RoleInfoType = Record<RoleIdType, { name: string; desc: string }>;
1313

1414
export const GroupRoleInfo: RoleInfoType = {

0 commit comments

Comments
 (0)