Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
export
const
isOwnerRole = (role: Role): boolean => role === ROLE.owner;
16
17
export
const
isAdminRole = (role: Role): boolean => role === ROLE.admin;
18
Callers
3
accounts.routes.ts
File · 0.90
resolveBillingAccount
Function · 0.90
role-coercion.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected