Keyline
A small workbench for permission design

Access,
explained.

Who can do what, and why? Follow an inherited permission back to its source. Explore changes in a local model before translating them into a real policy.

roles
abilities
abilities with
no grants

01Choose a role

02Inspect an ability

D Direct grantI Inherited only— No access

Make the reasoning portable.

Save the editable model, or take a plain-text report of every role, its grants, and its inherited access.

Fictional example loaded. Save a file before closing this tab.

Add a role.

Inherits from: this role receives every effective ability of each checked role. Its own direct grants are kept separately.

Add an ability.

An ability is one action your model can grant. Creating one does not grant it to any role.

Replace this workspace?

Keep a local copy.

On iPhone, use download controls or Share file → Save to Files. Open restores Keyline JSON. A .txt report is a readable export.

Manual save fallback

Your model, in words.

Follow the permission.

  1. Choose a role, then an ability. D means a direct grant exists. I means access is inherited, with no direct grant. A dash means there is no access.
  2. Trace the sources. Routes point from the selected role toward a role that grants the ability directly. One shortest route is shown per granting role. Multiple routes do not multiply access.
  3. Explore a change. Remove a direct grant after reading its local impact preview. Inherited access can remain. Undo restores the last model change.
  4. Build your own model. Add or edit roles and abilities. Inheritance loops are rejected. Removing a role also removes references to it; removing an ability clears its direct grants.
  5. Save and reuse. Save downloads a versioned JSON file containing the entire model and view settings. Open validates the file before asking to replace current work.

This is an allow-only union model. It does not model deny rules, conditions, resource scope, user membership, or any system’s enforcement rules. The example is fictional. A report explains this model; it is not a security audit.

Up to 12 roles and 32 abilities. No custom keyboard shortcuts; native Tab, Enter, Space, and dialog Escape keep their usual behavior. Typing a new model name clears the app’s one-step Undo; native text undo remains available.