access-control

Comprehensive guidance for authentication and authorization in the Mossback platform. Covers users, sessions, login, logout, single sign-on, API keys, tokens, roles, permissions, policies, organisatio

SKILL.md

GitHub

Access Control

Rules

  • Permission checks go through can(actor, action, resource) in src/access/policy.ts.
  • A new permission is added to src/access/permissions.ts and granted to roles in the same change.
  • Every administrator action writes an audit_log row in the same transaction.
  • API keys are stored hashed. The full value is shown once, at creation.