feat(auth): organization units, tenancy, roles and scopes for team access (#2919)

Co-authored-by: Kandev Agent <agent@kandev.dev>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
João Salavisa
2026-09-05 13:40:43 +00:00
committed by GitHub
parent b72c5ff0c2
commit 481359ddb2
317 changed files with 17615 additions and 461 deletions
@@ -54,6 +54,15 @@ features:
dev: "false"
e2e: "false"
# Organizations: a tenant boundary above users. Requires KANDEV_FEATURES_AUTH;
# the backend refuses to start with this on and auth off. Off everywhere until
# the runtime-isolation work (per-org filesystem roots, per-org agent
# credentials, tenant-pinned executors) lands.
KANDEV_FEATURES_MULTI_TENANCY:
prod: "false"
dev: "false"
e2e: "false"
# Dynamic agent profiles and provider-error routing. Off in every shipped
# profile until the complete guarded implementation is ready.
KANDEV_FEATURES_DYNAMIC_AGENT_ROUTING: