feat: granular RBAC with resource/operation bindings, users, groups #19

Merged
michal merged 1 commits from feat/projects-rbac-users-groups into main 2026-02-23 11:05:52 +00:00
Owner

Summary

  • Replace admin role with granular roles: view, create, delete, edit, run
  • Two binding types: resource (role+resource+optional name) and operation (role:run+action)
  • Name-scoped resource bindings for per-instance access control
  • Remove role from project members — all permissions via RBAC
  • Add users, groups, RBAC CRUD endpoints and CLI commands
  • describe user/group shows all RBAC access (direct + inherited from groups)
  • create rbac supports --subject, --binding, --operation flags
  • Backup/restore handles users, groups, RBAC definitions
  • mcplocal project-based MCP endpoint discovery
  • 406 mcpd tests + 270 CLI tests passing
## Summary - Replace admin role with granular roles: view, create, delete, edit, run - Two binding types: resource (role+resource+optional name) and operation (role:run+action) - Name-scoped resource bindings for per-instance access control - Remove role from project members — all permissions via RBAC - Add users, groups, RBAC CRUD endpoints and CLI commands - describe user/group shows all RBAC access (direct + inherited from groups) - create rbac supports --subject, --binding, --operation flags - Backup/restore handles users, groups, RBAC definitions - mcplocal project-based MCP endpoint discovery - 406 mcpd tests + 270 CLI tests passing
michal added 1 commit 2026-02-23 11:05:46 +00:00
feat: granular RBAC with resource/operation bindings, users, groups
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / typecheck (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
CI / package (pull_request) Has been cancelled
dcda93d179
- Replace admin role with granular roles: view, create, delete, edit, run
- Two binding types: resource bindings (role+resource+optional name) and
  operation bindings (role:run + action like backup, logs, impersonate)
- Name-scoped resource bindings for per-instance access control
- Remove role from project members (all permissions via RBAC)
- Add users, groups, RBAC CRUD endpoints and CLI commands
- describe user/group shows all RBAC access (direct + inherited)
- create rbac supports --subject, --binding, --operation flags
- Backup/restore handles users, groups, RBAC definitions
- mcplocal project-based MCP endpoint discovery
- Full test coverage for all new functionality

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
michal merged commit a8117091a1 into main 2026-02-23 11:05:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: michal/mcpctl#19