Skip to content

Module · Access

Who can do what, and why.

Roles, scopes and a decision log for every record — evaluated per tenant under the caller's own grants.

Casbin Policy Simulator & Audit Log
Deny-override active

Decision #4409 · 1.4 ms

crm:deals × sales

ALLOW
subject
user:owner@northwind
matched_role
role:principal
action
update
tenant
org_northwind_01

Policy trace

Matched policy p(role:principal, org_northwind, crm:deals, sales, update, allow).

Draft #04 applied under approver subject. Record mutated & logged immutably.

Capabilities

Built for day-to-day execution.

What Access handles inside your s7y workspace.

01

Roles and scopes

Per-resource scope vocabulary such as crm:deals × sales.

02

Decision log

Every allow or deny is recorded with the path that produced it.

03

Simulator

Test a subject against a record before you change a policy.

04

Approval under your grants

An approval writes under the approver's permissions, not the agent's.

How it works

Under the hood.

Access is a product surface

In a company OS, “who can see this deal” is not an infrastructure detail. It is the thing that lets a small team share one workspace without sharing everything.

Per record, per tenant

Every row is scoped to an organization, and every request is evaluated per record under the caller’s subject. The vocabulary is explicit: a resource such as crm:deals combined with a scope such as sales.

A log, not a guess

When access is denied, the decision log holds the policy path that produced it. The simulator lets you test a subject against a record before you change a rule, so policy edits stop being a leap of faith.

The agent inherits the approver

An approved draft writes under the approver’s own grants. The agent does not carry a separate privilege that a person could not exercise themselves.

FAQ

Common questions.

How is authorization enforced?

Casbin evaluates each request per record under the caller's subject, with deny-override semantics.

Can I see why access was denied?

Yes. The decision log records the policy path, and the simulator replays it.

Does the agent get its own permissions?

No. An applied draft writes under the approving person's grants.

Related modules

Design-Partner Cohort · 3–5 Consultancies

Bring your pipeline. Bring your messy spreadsheet.

We will set up your workspace on one live pipeline and show you the chief of staff drafting real updates — with your approval on every write.

✓ 50% off for the first 12 months

✓ Founder-led onboarding on one live pipeline

✓ Direct line to engineering