Skip to content

Roles & Permissions

Papermerge uses role-based access control to manage what users can do. A role is a named collection of permissions.

A permission represents a single action in the system, for example Documents | Upload, Cabinets | View, Tags | Create or Tags | Delete.

A user can hold several roles. Their permissions add up: a user may do everything that any of their roles allows. Roles never take a permission away.

There are two kinds of roles:

  • company-wide roles
  • cabinet roles

Company-wide roles control what a user may do across the whole company: manage users, groups and roles, create cabinets, manage categories, metadata, tags and retention policies, or view the audit log. Company-wide roles are assigned directly to users. They are offered in the Invite User and Edit User dialogs.

The following illustration shows the Invite User dialog offering the company-wide roles.

Invite User dialog with company-wide roles

Cabinet roles control what a user may do with the documents in one cabinet: view, download, upload, edit, move or delete them. Cabinet roles are given to a user or a group on a specific cabinet. They are offered in the Role field on the Access tab of the cabinet dialog, as shown in the following illustration.

Access tab of the cabinet dialog with cabinet roles

Company-wide roles never grant access to documents. Access to a document depends only on where the document is stored:

DocumentsAccess
Your own Home and InboxFull access. No role is needed.
A cabinet you own, or a group you belong to ownsFull access.
Any other cabinetOnly through a cabinet role given to you, or to one of your groups, on that cabinet.

This applies to administrators too: the admin role does not automatically give access to the documents in every cabinet. To work in a cabinet, an administrator needs a cabinet role on it, or must own it, like everyone else.

When you create a role, you first choose its kind: Company-wide or Cabinet. The list of permissions then shows only the permissions that take effect for that kind.

The kind cannot be changed later, because the role may already be assigned where the other kind is not allowed. If you need the other kind, create a new role.

Two permissions are available in both kinds, with a different reach:

PermissionIn a company-wide roleIn a cabinet role
Cabinets | ViewSee the Cabinets page with all cabinetsSee the contents of that cabinet
Cabinets | Manage AccessManage who has access to any cabinetManage who has access to that cabinet

Every team workspace comes with the following roles.

RoleAllows
adminEverything company-wide: users, groups, roles, cabinets, categories, metadata, tags, retention policies, audit log
userCreate and edit tags, metadata and categories; manage own API tokens
auditorView the audit log; view tags, metadata, categories and retention policies
RoleAllows
viewerView and download documents
editorEverything a viewer can, plus upload, edit, move, set metadata and categories, edit pages, link documents
managerEverything an editor can, plus delete documents, manage who has access to the cabinet, manage the cabinet’s own tags, metadata and categories