Glossary
Role-based access control (RBAC)
Definition
Role-based access control: A way of controlling access in which permissions are attached to roles and people are assigned to roles, instead of permissions being granted to each person. Changing what someone can do means changing their role assignment.
Also known asRBACrole-based securityroles and permissions
In short
Role-based access control (RBAC) decides who can do what in a system by attaching permissions to roles and assigning people to those roles, instead of granting permissions person by person. It makes access easier to manage and review. A role is a rule the server enforces, so in an end-to-end encrypted product an admin role cannot read content unless it also carries a key.
Key takeaways
- A permission is one allowed action. A role is a named set of permissions that matches a job. People get roles, not individual permissions.
- Admin should mean administering the system. It should not automatically include every other permission.
- Mutually exclusive roles stop one person from completing a sensitive process alone, and role hierarchies let one role inherit from another.
- RBAC is enforced by the server. Where the server holds only ciphertext, access to content depends on who holds keys, not on a role name.
- When a role does come with a key, such as a recovery key, treat it as content access.
Last reviewed 30 November 2026
Role-based access control (RBAC) decides who can do what in a system by attaching permissions to roles and assigning people to those roles, instead of granting permissions person by person. A new support agent gets the Support role and everything that job needs. When they move teams, you change one assignment. NIST, whose RBAC model became an American National Standard in 2004, puts it this way: "Each user is assigned one or more roles, and each role is assigned one or more privileges that are permitted to users in that role."
Roles versus permissions#
A permission is one allowed action on one kind of thing, such as viewing invoices or adding a user. A role is a named set of permissions that matches a job.
| Permission | Support | Finance | Admin |
|---|---|---|---|
| View invoices | Yes | Yes | Yes |
| Refund a payment | No | Yes | No |
| Add and remove users | No | No | Yes |
Two things here are deliberate. Admin can't issue refunds, because administering the system shouldn't quietly include every other permission. And no role can both add users and refund payments: RBAC systems support mutually exclusive roles so that one person can't complete a sensitive process alone. Roles can also build on each other. NIST's glossary notes that permissions "may be inherited through a role hierarchy".
Common mistakes are a separate role for every person, roles that only gain permissions, and assignments nobody reviews after people change jobs.
What a role can't grant when content is encrypted#
RBAC is a rule that the server enforces. In a conventional app the server can read the data, so a role can include "open any user's files" and the server will comply. With end-to-end encryption, the server holds only ciphertext, and a role, which is a line in a database, can't decrypt anything. Admin roles there cover accounts, domains, billing and settings. Access to content travels with keys: you grant it by sharing a key and withdraw it by changing the key. A role that comes with a key, such as a recovery key, does carry content access.
In Foxcolab#
Foxcolab works this way. Drive, Docs, Sheets, Notes and its other end-to-end encrypted apps keep content unreadable to Foxcolab's servers, so no role opens it by itself. An organization has an owner and two roles chosen when you provision someone: Standard Member and Organization Admin. Owners and admins manage members, domains, password resets and the plan, and those pages don't show members' mail or files (details). The exception is a key: whoever holds the Organization Master Recovery Key can reset the password of any account on the organization's domains and keep that account's data readable.
Foxcolab Forms puts roles and keys together. A form has Owner, Admin, Editor and Viewer roles, and on an encrypted form, the default, only the owner and admins receive the key that decrypts answers (details).
Keep exploring
Related terms
- Single sign-on (SSO)Single sign-on lets people sign in once with a central identity provider and reach many apps. Here's how SAML and OpenID Connect make that work.
- End-to-end encryption (E2EE)End-to-end encryption keeps data encrypted from the sender's device to the recipient's device, so the servers in between only ever handle ciphertext.
- Zero-knowledge encryptionZero-knowledge encryption means the provider stores your data without ever having the keys to read it. Here's how that works and how you keep a way back in.
- Recovery keyA recovery key is a secret that restores access to your encrypted data when you forget your password. In end-to-end encrypted services, it's often the only way back in.
- Two-factor authentication (2FA)Two-factor authentication asks for a second kind of proof after your password, so a stolen password alone can't get someone into your account.
Where Foxcolab uses it
Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.