Skip to content
lynxby

Access and identity

Groups, roles and permissions

One explainable chain from person to group to role to permission, with named audiences for the files only some people may read.

The test of a permission system is whether someone can explain a refusal without reading code. In Lynxby the answer is always the same shape: a person is in groups, groups carry roles, roles carry permissions.

The chain

A permission is resource.action, such as assistant.update. A role is a named set of permissions inside one organisation; on screen it is called a rule set. A group is a team carrying one or more roles. A person is a member of groups.

There is no per-user grant and no deny rule. A person's effective permissions are the union of their groups' roles in the organisation they are acting in, and nothing else. Removing a person from a group is how a permission goes away.

The default rule sets

Owner, admin, editor, support, viewer and partner admin. Owner carries everything, including deleting the organisation and changing billing. Admin carries everything except those two. Editor works with collections, documents, assistants and tools. Support reads and runs without editing. Viewer reads. Partner admin sees the partner report across child organisations and nothing inside one of them.

The defaults cannot be edited or deleted. An administrator builds a custom rule set from the same permission list, and can only grant permissions they hold themselves. Deleting a rule set is refused while a group or an open invitation still uses it.

Named audiences narrow a grant

Permissions decide what a person may do. An audience decides who may read one document, assistant or task. No group means the whole organisation; one or more groups narrows it. The rule is enforced in one place, so the collections screen, search, a citation, the API and retrieval all obey it.

An editor with document read still cannot open a board pack limited to the board group. Search applies the audience before ranking, so a restricted passage never takes a slot. Every audience change is written to the ledger with the group ids before and after.

Adding people

An administrator invites by email and chooses a rule set. The link is signed, expires after seven days, and can be copied instead of mailed. Bulk import accepts pasted addresses or a CSV; a bad row is reported with its line number and never stops the rest. Removing a person detaches the membership and keeps the account, because the same person may belong to another organisation.

Where it stops

There is no subtraction: a grant can open a door but cannot close one another policy opened. That is deliberate, because subtraction is how permission systems become unexplainable. The menu hides what a person cannot open, but hiding is a courtesy; the route still checks and refuses.

Related: single sign-on, classification, service accounts.

Want to see this on your own documents?

Contact us

Search all guides