Every permission is one position on one ladder.
Kryex's governance model is built to mirror how a real enterprise is actually structured — an org chart, roles as data not code, and one capability ladder every grant resolves to, in strict order.
The capability ladder
Every permission in Kryex resolves to one of four levels, and there is no way to grant something outside this order.
The grant formula
A grant is the atomic unit of policy — five parts, and an optional approve-first modifier that turns an otherwise-allowed action into one that waits for a human sign-off before it executes.
How ties resolve
- Default deny — no grant on file means no access, full stop.
- Explicit deny beats everything — a grant set to
noneoverrides any broader grant from a group. - Most specific resource wins — a grant on one exact tool beats a grant on the whole connection.
- One active grant per user per connection — a new grant soft-revokes the prior one, so history stays queryable.
The org chart is real, not decorative
Every deployment has an organization as its tenant root, and inside it a hierarchy of scopes — organization → department → team → project — that mirrors the company's real structure. The Admin panel renders it as an actual interactive org chart: pan, zoom, collapse any team's subtree, click anyone to see their role, their team, and exactly which models and systems they can touch. Groups sit alongside individuals as first-class grantable principals, the same mechanism identity federation will plug straight into (see below).
Roles are permission bundles
Five built-in roles ship today, each a bundle of permissions stored as data, not hardcoded logic.
Organization admin
Full authority across the entire org chart — the only role with no ceiling.
Policy admin
Configures grants and connections, without full org-structure authority.
Team admin
Bounded admin authority, scoped to one team — usually via delegation.
Developer
The default role — works inside whatever grants apply to them.
Auditor
Read-only across the audit log and org structure — never a grant it can act on.
Delegation — bounded admin authority
A full organization admin shouldn't be the only person who can grant access — but letting every manager grant unlimited access anywhere is its own risk. An administrator can hand a manager a bounded slice of admin authority: grant access, but only inside that manager's own team, and never above a defined capability ceiling. Delegations can be re-delegable one level further and can expire automatically. Every grant made under a delegation carries a reference back to it — the audit trail always shows not just what was granted, but under whose delegated authority.
Letting a manager grant access without handing them the keys to everything
A single organization admin approving every access request doesn't scale past a small team — but the obvious fix, letting every team manager grant access freely, turns dozens of managers into dozens of uncontrolled paths to sensitive systems.
Delegation hands a manager a bounded slice of admin authority: they can grant access, but only inside their own team's scope, and never above a defined capability ceiling. Delegations can be re-delegable one level further and can expire automatically, and every grant made under one carries a reference back to it in the audit trail.
A payments team lead is delegated authority to grant WRITE (never ADMIN) on the team's own database connections, scoped to the payments team only. They can unblock their own developers without ever being able to touch a different team's systems or escalate anyone to admin.
Access requests get resolved by the person closest to the context (the team's own manager) without that authority ever being unbounded — the audit trail shows not just what was granted, but under whose delegated authority.
Approvals — human-in-the-loop, not a dead end
When a grant carries the approve-first flag, an otherwise-permitted action doesn't execute immediately — it's held, a notification lands in the administrator's approvals inbox with full context (who, what system, what exact action), and the agent is told to wait or move on to something else. On approval, Kryex executes the held action right then and stores the result, so the agent's next retry picks up the real, already-computed result instead of re-triggering another pending approval. A denial is just as final — the retry is told plainly the call was denied, and it stops asking. The same mechanism covers access requests: a developer asking for standing access they don't currently have, with an optional business justification captured for the approver.
Identity federation
Groups already sit alongside individuals as first-class, grantable principals today — built from day one to become live mirrors of your real identity-provider groups the moment federation lands.
SSO — SAML / OIDCPlanned
Microsoft Entra ID, Okta, and equivalent standards-based providers.
SCIM directory syncPlanned
Provisioning, de-provisioning, and group sync from your own directory.
Stated honestly, not rounded up: SSO/SAML/OIDC and SCIM sync are near-term roadmap items, not shipped today. Local users and groups are fully functional in the meantime — the underlying data model was built from the start to receive federation without a redesign.