Project mapping · Map
Auth Entitlements Map
Map identity, roles, attributes and entitlements to the backend decisions and UI/API/job enforcement that use them.
MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions
← Back to searchUse this workflow
Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.
Operation
Map the requested area using current repository evidence.
Goal
Map identity, roles, attributes and entitlements to the backend decisions and UI/API/job enforcement that use them.
Suggested saved map: docs/auth_entitlements_map.md.
Build the view
Trace identity/session → membership and tenant context → entitlement or permission decision → enforcement in the selected UI, API and jobs. Join those surfaces by the same action/resource/scope, not by similar role labels. Show whether a UI gate merely hides an action or shares a backend decision. Keep plan eligibility, quota consumption and authorization as distinct rules even when one function evaluates them together.
Inspect
Auth providers, session/membership models, role definitions, policy helpers, ABAC attribute sources, tenant/workspace/project scopes, entitlement/plan/quota code, route guards, API handlers, UI conditionals, feature flags, background jobs, generated clients, tests, audit logs, and docs.
Map content
Evidence and IDs
- Suggested IDs for new entries: role
ROLE-*, permission/actionPERM-*, ABAC ruleABAC-*, entitlementENTL-*, gateGATE-*, scopeSCOPE-*, quotaQUOTA-*. - Anchor every rule to owner evidence. Distinguish UI visibility from backend enforcement and policy source from duplicated consumer checks.
Coverage
Cover identities, roles, attributes, tenant scopes, policy decision points, policy enforcement points, plan/feature gates, quota limits, admin/staff/impersonation, invitations, unauthenticated/forbidden/not-found semantics, no-access/upgrade states, background/job contexts, audit logs, and tests.
Entry details
For each permission or entitlement, capture actor, resource, action, scope, attributes, plan/quota dependency, backend owner, UI consumers, API/jobs, error/no-access behavior, tests, audit log expectations, and known drift.
Workflow ID: auth-entitlements-map · View the versioned source · Shared workflow and authority rules