MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / isOwnerRole

Function isOwnerRole

apps/api/src/lib/acl/role-coercion.ts:15–15  ·  view source on GitHub ↗
(role: Role)

Source from the content-addressed store, hash-verified

13};
14
15export const isOwnerRole = (role: Role): boolean => role === ROLE.owner;
16
17export const isAdminRole = (role: Role): boolean => role === ROLE.admin;
18

Callers 3

accounts.routes.tsFile · 0.90
resolveBillingAccountFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected