Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /