Skip to content

Commit

Permalink
updated user role options
Browse files Browse the repository at this point in the history
  • Loading branch information
raheeliftikhar5 committed Sep 27, 2024
1 parent 4242c59 commit 5981b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/packages/lowcoder/src/constants/orgConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const MEMBER_ROLE = "member";

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

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

export const GroupRoleInfo: RoleInfoType = {
Expand Down

0 comments on commit 5981b50

Please # to comment.