Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShipSecAI/studio
/ Roles
Function
Roles
backend/src/auth/roles.decorator.ts:7–7 ·
view source on GitHub ↗
(...roles: AuthRole[])
Source
from the content-addressed store, hash-verified
5
export
const
AUTH_ROLES_KEY =
'shipsec:auth:roles'
;
6
7
export
const
Roles = (...roles: AuthRole[]) => SetMetadata(AUTH_ROLES_KEY, roles);
Callers
2
McpGroupsController
Class · 0.90
ApiKeysController
Class · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected