Per-project permissions — bRRAIn Docs

Limit a custom role to named projects and control read, add, update and delete on each.

Per-project permissions

Per-project permissions let you give a person access to some projects and keep every other project out of sight. You set them on a custom role, by project name.

The four permissions

For each project you list on a role, tick what the role may do.

Permission What it allows
Read See the project and read its files.
Add Create files that do not exist yet.
Update Change files that already exist.
Delete Remove files, or the project.

Add and Update are separate on purpose. "May contribute new material but must not change what is already recorded" is a common need for institutional memory, and a single write permission cannot express it.

Setting it up

  1. Open Organization → Roles and create or edit a custom role.
  2. In the Projects section, click + Add project to add a row for each project. Type the project name; your existing projects are suggested as you type, and you can also enter a project that does not exist yet.
  3. Tick the permissions for that row.
  4. Click Save custom role, then assign the role to your members on Organization → Members.

If you leave the Projects section empty, the role is not limited by project. Existing roles keep working exactly as before.

What a restricted member experiences

  • The member sees only the projects the role lists. Other projects do not appear in the projects list, and asking for one gives the same answer as a project that does not exist.
  • Creating a project needs Add on the name being created. List the project name in advance if you want someone to create it.
  • Renaming a project needs Delete on the old name and Add on the new name.
  • Changing a project's charter or archiving it needs Update. Syncing a template needs Add. Deleting a project needs Delete.
  • The rules apply in the Console, in Nexus and in the mobile app.

Rules to know

  • Add or Update on its own needs Read. The system checks whether a file exists to decide between add and update, and it can only do that if the member can read. The editor rejects a role that has Add alone or Update alone without Read. Add plus Update with no Read is allowed, and gives you a write-only drop box.
  • Folder rows win. If you also wrote a vault folder scope for the same path, that more specific rule applies instead of the project tick boxes.
  • Names are matched without regard to case. Listing the same project twice is rejected.
  • Names with /, \ or .. are rejected. A project name always means a project, never an arbitrary vault folder.
  • Sovereigns are never restricted. A custom role is authoritative for everyone else.

Ingest follows the same limits

When a member uploads files with Ingest files, the target folder must be one their own permissions allow them to write to. If it is not, the upload is refused with a "target not granted" message and the refusal is recorded in the audit log. A member limited to one project must pick a folder inside that project. Members without folder or project limits are not affected. Uploads that were queued before this check existed are refused and must be submitted again.

Where to next