Documentation

Docs

Managing Rights: The Life of a Rule and of a Use Case

Step 9 of the research plan. Draft of 18 November 2026. The approval screens are a new feature, so they start as a clickable prototype before any engine work.

The decision is cheap and provable. What costs people time is keeping the rules right. This design makes each human answer cover many future requests.

1. Where Rules Come From

In this order, the first covering most of the organisation:

  1. Defaults by classification level, set once by the security officer.
  2. Approved use cases, each with an owner, positions, data at a maximum form, recipients and validity.
  3. Concepts: general patterns ("any dashboard is aggregated only"), written once.
  4. Exceptions: narrow, with an end date, approved by the owner of the asset.

Nobody writes a rule from a blank page. Every rule starts as a proposal from one of these sources:

Source Example
An ask answered by a person the CEO allows the deputy once: proposed rule "deputies of the CEO may prepare the CEO's report, aggregated, until 30 June"
A policy paragraph the model reads "salary data is for payroll only" into a boundary, quoting the sentence
Repeated approvals the same ask approved five times for five search engines: proposed rule at the class "search engines"
The record of decisions a rule never used in 90 days: proposed retirement
A finding an aggregate refused by the auditor three times for one requester: proposed alert to the owner

2. The Life of a Rule

proposed ──► checked ──► approved ──► published ──► in force ──► expiring ──► ended
    │            │            │
    └── rejected ◄────────────┘
State What happens Who
proposed the rule in its sentence form, its source quoted, its generated tests the model drafts, a person or the system triggers
checked the type checker (Restrictions D and N); the analyzer proves what the rule adds (T7: the complete list of newly allowed requests for the current facts, and "keeps every boundary" for all facts); the replay over the record shows past requests it would change automatic
approved the right person says yes, changes it, or says no see section 3
published a new version of the module, compiled to each server's checker automatic, recorded
in force every decision it takes part in carries it in its reasons automatic
expiring 14 days before its end, the owner is told, with its last uses automatic
ended it no longer applies; it stays in the history automatic

A rule is never edited in place. A change is a new rule that replaces the old one, through the same states.

3. Who Approves What

Kind of rule Approves
Default per classification level security officer
A boundary, or lifting one owner of the protected asset
A new use case owner of the data it needs and the security officer, both
A permit inside an existing use case owner of the use case
An ask answered for one request whom the ask names (the owner, or the position above)
An exception owner of the asset, with an end date of at most 12 months
Retiring a rule its owner; automatic if it has expired

Decided 22 November 2026 (decision 10 in Decisions and Status): a new use case needs both the owner of the data it needs and the security officer. Until both have approved it, the use case does not exist for the core: no grant can name it, so no permit or boundary can be opened by it.

Kind of rule Approves (added with the decisions of 22 November 2026)
A duty on an asset owner of the asset
A rate limit (a boundary on a trusted counter) owner of the asset; the counter itself is a fact source the security officer approves
A dominance declaration (a cell one contributor dominates) owner of the asset, or the scanner the owner approved

4. Rights Follow Positions

  • A person reaches rules through holds(person, position, interval) and grant(person, use case, interval, approver). Both are temporal facts: when the interval ends, so do the rights (finding F3).
  • Moving a person to a new position ends their old holdings; nothing about the rules changes.
  • Delegation is a grant with a short interval, approved by the holder of the position delegated from.

5. Use Cases End With the World

A use case is valid until a date, while an asset is in a state, or for one use:

  • "Set up the subscription" ends when the subscription exists.
  • "Executive salary report 2026" ends on 30 June 2027.
  • "Migrate the table" is used once.

When it ends, every rule tied to it ends.

6. What the Owner Sees

One screen per thing that needs them, in this shape:

  1. The sentence: "Deputies of the CEO may read the executive salary report, at most aggregated, until 30 June 2027."
  2. Where it came from: "You answered this question on 14 November for Ben."
  3. Exactly what it changes: the proven list of newly allowed requests, and the statement "keeps every boundary", from the analyzer.
  4. Yes / change / no.

7. Open

  • The prototype of section 6: a clickable prototype was built on 22 November 2026; engine work waits until it has been reviewed.
  • How often the system may propose a class-level rule before it becomes noise.
  • Whether an owner may approve a rule for a class of assets they do not wholly own.

Last built 2026-11-25