MCPcopy Create free account
hub / github.com/codeaashu/claude-code / descriptionForRole

Function descriptionForRole

web/lib/collaboration/permissions.ts:94–100  ·  view source on GitHub ↗
(role: CollabRole)

Source from the content-addressed store, hash-verified

92}
93
94export function descriptionForRole(role: CollabRole): string {
95 return {
96 owner: "Full control — can send messages, approve tools, and manage access",
97 collaborator: "Can send messages and approve tool use",
98 viewer: "Read-only — can watch the session in real-time",
99 }[role];
100}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected