Skip to content
ERPDocs

Roles & Permissions

🚧 Beta Feature: Administration features are currently in beta. Some settings and capabilities may change as we continue development.

ERPDocs uses role-based access control (RBAC) to manage what each user can see and do within the organization. Roles are assigned per-organization, meaning a user could have different roles in different organizations.


The Account Owner

Each organization has exactly one Account Owner. The Account Owner is the user who legally owns the organization and is the only user permitted to perform owner-only actions (transfer ownership, delete the organization, approve billing changes). The Account Owner role cannot be removed or demoted by any other user — it can only be transferred. See Account Owner & Ownership Transfer.


Built-in Roles

Role Description
Admin Full access to all features, including user management, organization settings, custom roles, workspaces, retention policy, and audit logs
Manager Can upload, edit, and manage documents, create SignPacks and templates, and manage contacts
Viewer Read-only access to documents and SignPacks — cannot upload, edit, or create

Custom Roles

Admins (and the Account Owner) can define custom roles scoped to the organization. Each custom role:

  • Is anchored to a built-in base role (Admin / Manager / Viewer).
  • Can grant a subset of its base role's permissions — never more. This is the permission ceiling.
  • Can be archived when no longer in use; archived custom roles do not count toward active assignments.

See Custom Roles for the full workflow.


Permission Matrix

Feature Viewer Manager Admin
View documents ✅ ✅ ✅
Search documents ✅ ✅ ✅
View entities ✅ ✅ ✅
View SignPacks ✅ ✅ ✅
Upload documents ❌ ✅ ✅
Edit document metadata ❌ ✅ ✅
Commit staging documents ❌ ✅ ✅
Create SignPacks ❌ ✅ ✅
Create/edit templates ❌ ✅ ✅
Manage contacts ❌ ✅ ✅
Edit entities ❌ ✅ ✅
Reprocess documents ❌ ✅ ✅
Invite users ❌ ❌ ✅
Manage user roles ❌ ❌ ✅
Activate/deactivate users ❌ ❌ ✅
View audit log ❌ ❌ ✅
Edit organization settings ❌ ❌ ✅
Generate user passwords ❌ ❌ ✅
Manage invitations ❌ ❌ ✅

How Roles Are Assigned

During Invitation

When an admin invites a new user, they select the role at invitation time. The invitee receives that role upon accepting.

After Joining

Admins can change any user's role from the User Management page:

  • Quick role change from the user list dropdown
  • Full editing from the user edit page

Organization-Scoped Roles

Roles are specific to each organization. If a user belongs to multiple organizations, they can have a different role in each one.

For example:

  • Admin in "Acme Corporation"
  • Viewer in "Global Services LLP"

Safeguards

ERPDocs includes built-in protections to prevent accidental lockout and abuse:

  • Self-action guards — You cannot remove your own Admin role, demote yourself, deactivate your own account, or revoke your own access on any sharing/permission feature. Backend and frontend both block these actions.
  • Last-Admin invariant — At least one active Admin must always remain in each organization. Removing or deactivating the last remaining Admin is rejected.
  • Permission ceiling — A custom role can never grant more permissions than its base built-in role. The ceiling is enforced at the permission-registry level on every check.
  • Account Owner immutability — The Account Owner role cannot be removed or demoted; it can only be transferred by the current owner (or, in confirmed account-loss cases, by ERPDocs support after identity verification).
  • Audited changes — Every role assignment, custom-role edit, workspace membership change, and ownership transfer is recorded in the Audit Log.

Next Steps