0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-13 21:30:30 -05:00
logto/packages/schemas/src/utils/role.ts

4 lines
142 B
TypeScript
Raw Normal View History

export const internalRolePrefix = '#internal:';
export const isInternalRole = (roleName: string) => roleName.startsWith(internalRolePrefix);