Role-Based Access Control
Control who can do what in your Duro organization with fine-grained, permission-based access control.
Overview
Duro's RBAC system provides granular control over user access at both the organization and library levels. This allows you to:
Assign broad organization-wide roles for internal team members
Grant specific library-level access for external partners or contractors
Override organization roles for specific libraries when needed
Create custom roles tailored to your team's workflow
Core Concepts
Role Types: A 2x2 Matrix
Duro's RBAC system has two dimensions for understanding roles:
Organization Scope
Library Scope
System Role
Site Admin, Admin, Editor, Reviewer, Viewer, Supplier
Admin, Editor, Reviewer, Viewer, Supplier
Custom Role
User-created roles with custom permissions
Automatically created from org templates
Scope determines where the role applies:
Organization roles grant access across all libraries in your organization
Library roles grant access to a specific library only
Type determines who manages the role:
System roles are created by Duro and cannot be modified or deleted
Custom roles are created by your organization and fully editable
Hierarchical Role Resolution
When a user accesses a library, Duro determines their effective permissions using this resolution order:
If the user has a library-specific role → Use that role (takes precedence)
Else if the user has an organization role → Use that role (applies to all libraries)
Else → Deny access
Roles reach a user from two sources: directly (assigned to the user) and through teams (assigned to any team the user belongs to). The precedence above applies to scope, not to source: if the user or any of their teams holds a role on this library, only library roles count, and their permissions are combined. Otherwise the user's and their teams' organization roles are combined. See Team-Based Access Control for the full model.
This enables powerful access patterns:
Internal employee
Editor
—
—
Editor access everywhere
Employee with elevated access
Editor
Admin (Project X)
—
Admin on Project X, Editor elsewhere
Employee with restricted access
Admin (not Site Admin)
Viewer (Sensitive)
—
Viewer on Sensitive, Admin elsewhere
External partner
—
Supplier (shared libraries)
—
Supplier on specific libraries only
External contractor via team
—
—
Editor (Engineering team)
Editor wherever the team grants access — access via team membership alone
Team-elevated employee
Viewer
—
Editor (Leads team)
Editor everywhere (Viewer and Editor permissions combined — both are organization roles)
Team-restricted employee
Admin
—
Viewer on Sensitive (Auditors team)
Viewer on Sensitive (the team's library role wins over organization roles), Admin elsewhere
Here's how this looks in practice—a user with an Editor organization role and a Reviewer override for a specific library:

Team-Based Access Control
Access in Duro is not limited to individuals. A team carries access the same way a user does: it has one organization-scoped role plus any number of per-library role overrides — full parity with the user model. Assigning access to a team, then adding people to that team, is how you grant consistent access to a group without editing each member individually.
How team roles combine with direct roles
A user's roles come from two places:
Their direct roles (assigned to the user)
The roles granted by every team they belong to
For a given library, Duro sorts all of those roles by scope. If any of them — direct or from a team — is a role on this library, the library roles win and every organization role is ignored. Otherwise the organization roles apply. Either way, the permissions of all the roles in the winning scope are combined; Duro does not pick a single most-permissive role. If any role in the winning scope is an admin role, the user is an admin there.
Two consequences follow:
Team membership alone can grant organization access. A user with no direct organization role still gets access if they belong to a team that has one. This is the common pattern for external contractors — no direct role, added to a team that grants what they need.
A team's library override can raise or lower access. Any library role, direct or from a team, takes precedence over organization roles. A user with a direct organization Admin role who joins a team granting Viewer on library X is a Viewer in X.
Where teams come from
Teams can be managed two ways:
Directly in Duro — create teams, add members, and assign roles through the Duro UI.
Provisioned from your IdP via SCIM — a SCIM Group maps to a Duro team, and group membership drives team membership automatically. See SCIM Provisioning.
Admin Bypass
Roles marked as isAdmin: true bypass all permission checks. Admin users automatically have full access without needing individual permissions granted.
Tenant Scoping
RBAC decides what an authenticated principal may do; tenant scoping decides whose data they may touch. Duro is multi-tenant, and every request operates within one organization and library.
A default-deny tenant-scoping guard runs ahead of resolvers on the public GraphQL API. When a request references a resource that belongs to a different organization or library than the caller's authenticated context, the guard denies it — regardless of the caller's RBAC role. Only operations explicitly designated as cross-tenant (and gated on an admin role) are allowed to reach across the boundary.
Practically, this means a cross-tenant request fails even when your role would otherwise permit the action:
Fetching a component, file, or export by an ID that lives in another library returns an authorization error rather than the resource —
UNAUTHORIZED_RESOURCE_ACCESS,UNAUTHORIZED_COMPONENT_ACCESS,UNAUTHORIZED_FILE_ACCESS, orUNAUTHORIZED_LIBRARY_ACCESS, each withextensions.statusCode403.Mutating another tenant's users, roles, or API keys is denied.
System Roles
System roles are created by Duro and provide baseline access levels for common use cases. They cannot be modified or deleted.
Organization-Level System Roles
Site Admin
Yes
Organization creators
Full system access. Automatically assigned to the user who created the organization.
Admin
Yes
IT administrators, managers
Organization administrator with full access to all settings and libraries.
Editor
No
Engineers, designers
Standard member who can create and edit components, assemblies, and change orders. Can participate in the full CO workflow.
Reviewer
No
Quality assurance, external reviewers
Can view content and approve/reject/release change orders but cannot create or modify components.
Viewer
No
Stakeholders, observers
Read-only access to view components, assemblies, and change orders.
Supplier
No
External suppliers, vendors
Limited read-only access to shared content. Ideal for supply chain partners.

Library-Level System Roles
Library roles mirror organization roles but apply to a single library:
Admin
Yes
Full access to this library including settings and permissions
Editor
No
Can create, edit, and manage content in this library
Reviewer
No
Can view and participate in change order workflow
Viewer
No
Read-only access to this library
Supplier
No
Limited read-only access to this library's shared content
Permission Reference
Permissions follow the naming convention {resource}.{action} or {resource}.{sub-resource}.{action}.

Unless a permission is listed under Organization Settings, Team Management, Role Management, or noted otherwise, it is library-scoped: Duro resolves the user's role for the library in context, falling back to their organization role.
Content Management
components.create
Create Components
Create new components in the library
Grant to engineers who design new parts
components.read
View Components
View component details, specifications, and history
Required for anyone who needs visibility into the parts database
components.update
Edit Components
Modify component properties and metadata
Grant to engineers maintaining part data
components.delete
Delete Components
Permanently remove components
Restrict to administrators; deletion is irreversible
components.set_not_revision_managed
Set Not Revision Managed
Toggle a component's Not Revision Managed flag, exempting it from the revision and change order lifecycle
Restrict — an NRM component bypasses change order governance
assemblies.create
Create Assemblies
Create new assemblies and BOMs
Grant to engineers building product structures
assemblies.read
View Assemblies
View assembly structures and BOM data
Required for manufacturing and procurement visibility
assemblies.update
Edit Assemblies
Modify assembly structure and BOM
Grant to engineers maintaining product structures
assemblies.delete
Delete Assemblies
Permanently remove assemblies
Restrict to administrators
assemblies.permitted_variants.manage
Manage Permitted Variants
Set which variant alternates are permitted for a variant group in an assembly BOM
Grant to engineers who own product configuration
library_pins.read
View Pins
View pinned components in a library
Grant for quick access to frequently used components
library_pins.create
Pin Components
Pin components to a library for quick access
Grant to users who curate commonly-used parts
library_pins.delete
Unpin Components
Remove component pins
Grant alongside pin creation
labels.create
Create Labels
Create new labels and assign them to components
Grant to users who organize and categorize components
labels.read
View Labels
View labels and their assignments
Required for anyone who needs to see component categorization
labels.update
Edit Labels
Modify label names, colors, and descriptions
Grant to users who maintain label taxonomy
labels.delete
Delete Labels
Remove labels from the system
Restrict to administrators; affects all components using the label
Imports and Exports
imports.read
View Imports
View import history — the job list, a job's status, and its results summary
Grant to anyone who needs to see whether an import ran and how it finished, without being able to run one
imports.manage
Manage Imports
Run spreadsheet imports and view import history
Grant to engineers who bulk-load part data — but read the warning below
exports.create
Run Exports
Run BOM and component-list exports, and read export jobs
Grant to anyone who needs data out of Duro
exports.templates.manage
Manage Export Templates
Create, edit, and delete export templates
Grant to process owners who standardise export formats
Change Order Workflow
change_orders.create
Create COs
Create new change orders
Grant to engineers initiating design changes
change_orders.read
View COs
View change order details and status
Required for anyone tracking engineering changes
change_orders.update
Edit COs
Modify change order details
Grant to CO owners and administrators
change_orders.delete
Delete COs
Archive or delete change orders
Restrict to administrators; use sparingly
change_orders.submit
Submit for Review
Submit a change order for approval
Grant to engineers who create change orders
change_orders.approve
Approve COs
Approve or reject change orders in the workflow — both review decisions are gated by this permission
Grant to reviewers, leads, and quality personnel
change_orders.reject
Reject COs
Not enforced — rejecting is gated by change_orders.approve
Granting it alone does not let a role reject
change_orders.release
Release COs
Close and release approved change orders
Grant to release managers or quality leads
change_orders.withdraw
Withdraw COs
Withdraw a submitted change order
Grant to CO creators and administrators
change_orders.reset
Reset COs
Reset a change order back to draft status
Restrict to administrators; used for workflow corrections
change_orders.export
Export COs
Export a change order package, including attached documents
Grant to quality and manufacturing teams who distribute CO packages
change_orders.templates.manage
Manage Templates
Create and manage change order templates
Grant to process owners who define CO standards
Sourcing
Sourcing permissions cover vendors, quotes, and the sourcing data attached to parts. They split into three families.
sourcing.read
View Sourcing
View sourcing parts, sourcing documents, package types, and the library's sourcing configuration
Required for anyone doing procurement work
sourcing.create
Create Sourcing Data
Create sourcing parts, documents, and package types
Grant to procurement and supply chain staff
sourcing.update
Edit Sourcing Data
Edit sourcing parts and documents, and the library's sourcing configuration
Grant alongside create
sourcing.delete
Delete Sourcing Data
Delete sourcing parts and documents, and clear a component's primary source
Restrict to supply chain leads
sourcing.vendor.read
View Vendors
View a library's vendors and its vendor list
Required for anyone selecting suppliers
sourcing.vendor.create
Add Vendors
Create vendors in a library, and add them to its list as PROPOSED
Grant to supply chain managers
sourcing.vendor.update
Edit Vendors
Edit a library's vendor details and its account details for a vendor
Grant alongside create
sourcing.vendor.status_change
Change Vendor Status
Change a vendor's approval status in the library vendor list — changeVendorApprovalStatus, updateVendorListEntry, addToVendorList with a status other than PROPOSED, and saveLibraryVendor with an approvalStatus that differs from the stored one
Restrict to those who approve suppliers; not part of update
sourcing.vendor.delete
Remove Vendors
Archive a library's vendor, or remove one that no part or quote uses
Restrict to supply chain leads
sourcing.quote.read
View Quotes
View sourcing quotes
Grant to procurement and finance
sourcing.quote.create
Create Quotes
Create sourcing quotes
Grant to buyers
sourcing.quote.update
Edit Quotes
Edit sourcing quotes
Grant alongside create
sourcing.quote.delete
Delete Quotes
Delete sourcing quotes
Restrict to supply chain leads
Collaboration
comments.create
Add Comments
Create comments on components and change orders
Grant to enable team discussions
comments.read
View Comments
View comments and discussions
Required for collaborative workflows
comments.update
Edit Comments
Edit your own comments
Grant alongside comment creation
comments.delete
Delete Comments
Delete your own comments
Grant alongside comment creation
comments.moderate
Moderate Comments
Delete any comment (moderation)
Restrict to administrators
Administration
Organization Settings
organization.read
View Org Info
View organization information
Granted to all members by default
organization.settings.update
Edit Org Settings
Update organization settings
Restrict to administrators
organization.users.read
View Members
Show the member list in the Duro app. A UI permission — the API does not check it
Granted to most roles for collaboration
organization.users.invite
Invite Members
Invite new users to the organization
Grant to team leads and HR personnel
organization.users.remove
Remove Members
Remove users from the organization
Restrict to administrators
organization.users.update_role
Assign Member Roles
Change user roles within the organization
Restrict to administrators
organization.libraries.create
Create Libraries
Create new libraries in the organization
Grant to administrators and project leads
organization.libraries.delete
Delete Libraries
Delete libraries from the organization
Restrict to administrators; deletion is irreversible
organization.saml.configure
Configure SSO
Configure SAML SSO, verify the organization's email domain, and set the session policy
Restrict to IT administrators
organization.scim.manage
Manage SCIM
Enable SCIM provisioning, and mint, list, and revoke SCIM tokens
Restrict to IT administrators
organization.users.manage_invite_settings
Manage Invite Settings
Manage email auto-discovery domains and the default role new members join with
Restrict to administrators; it controls who can join without an invitation
organization.api_keys.manage
Manage API Keys
Create and manage API keys
Grant to developers and integrators
Library Settings
library.read
View Library Info
View library information
Granted to all library members
library.settings.update
Edit Library Settings
Update library settings
Restrict to library administrators
library.categories.manage
Manage Categories
Manage library categories and attributes
Grant to library administrators and data stewards
library.statuses.manage
Manage Statuses
Manage custom component statuses. Not enforced — the API does not check it
Grant to process owners
library.features.manage
Toggle Features
Enable/disable experimental features
Restrict to administrators
integrations.read
View Integrations
View available integrations and their configuration for a library
Grant to anyone who needs to see what is connected
integrations.configure
Configure Integrations
Enable, disable, and configure integrations for a library, including integration-owned attributes
Restrict to administrators
Team Management
teams.manage
Manage Teams
Create, rename, archive, and unarchive teams, and set a team's organization role and library overrides
Grant to administrators who manage group access
teams.members.manage
Manage Team Members
Add and remove members of a team
Grant to team leads who should manage membership but not team access
Both are organization-scoped. teams.manage satisfies teams.members.manage, so a role with the former does not need the latter. As with the organization-scoped sourcing checks, an API-key request carries the key's library, so a library role on that library takes precedence — see the note under Sourcing.
See Team-Based Access Control for how team roles combine with a user's direct roles.
Role Management
roles.read
View Roles
View available roles and their permissions
Granted to administrators
roles.create
Create Roles
Create custom roles
Grant to organization administrators
roles.update
Edit Roles
Modify custom role permissions
Grant to organization administrators
roles.delete
Delete Roles
Delete custom roles
Grant to organization administrators
All four are organization-scoped — roles are defined at the organization level and library roles are created automatically. As with the organization-scoped sourcing checks, an API-key request carries the key's library, so a library role on that library takes precedence — see the note under Sourcing.
Assigning a role to a user is governed by organization.users.update_role, not by a separate role-management permission.
Permission Implications
Some permissions automatically satisfy checks for related permissions, so you do not need to grant a read permission alongside a write one.
How it works
Where a resource opts in, higher access satisfies lower:
A user with components.update therefore passes a components.read check without being granted it explicitly.
Implication rules
components.delete
components.update, components.create, components.read
components.update
components.create, components.read
components.create
components.read
components.set_not_revision_managed
components.read
assemblies.delete
assemblies.update, assemblies.create, assemblies.read
assemblies.update
assemblies.create, assemblies.read
assemblies.create
assemblies.read
assemblies.permitted_variants.manage
assemblies.read
change_orders.delete
change_orders.update, change_orders.create, change_orders.read
change_orders.update
change_orders.create, change_orders.read
change_orders.create
change_orders.read
Any change order workflow permission — submit, approve, reject, release, withdraw, reset, templates.manage, export
change_orders.read
comments.moderate
comments.delete, comments.update, comments.create, comments.read
comments.delete
comments.update, comments.create, comments.read
comments.update
comments.create, comments.read
comments.create
comments.read
sourcing.delete
sourcing.update, sourcing.create, sourcing.read
sourcing.update
sourcing.create, sourcing.read
sourcing.create
sourcing.read
sourcing.vendor.delete
sourcing.vendor.update, sourcing.vendor.create, sourcing.vendor.read
sourcing.vendor.update
sourcing.vendor.create, sourcing.vendor.read
sourcing.vendor.create
sourcing.vendor.read
sourcing.vendor.status_change
sourcing.vendor.update, sourcing.vendor.create, sourcing.vendor.read — but not sourcing.vendor.delete. Nothing implies status_change: neither sourcing.vendor.update nor sourcing.vendor.delete satisfies it
sourcing.quote.delete
sourcing.quote.update, sourcing.quote.create, sourcing.quote.read
sourcing.quote.update
sourcing.quote.create, sourcing.quote.read
sourcing.quote.create
sourcing.quote.read
library_pins.delete
library_pins.create, library_pins.read
library_pins.create
library_pins.read
labels.delete
labels.update, labels.create, labels.read
labels.update
labels.create, labels.read
labels.create
labels.read
imports.manage
imports.read
exports.templates.manage
exports.create
integrations.configure
integrations.read
roles.delete
roles.update, roles.create, roles.read
roles.update
roles.create, roles.read
roles.create
roles.read
teams.manage
teams.members.manage
Any library settings permission — library.settings.update, library.categories.manage, library.statuses.manage, library.features.manage
library.read
Any organization permission
organization.read
Any user management permission — invite, remove, update_role, manage_invite_settings
organization.users.read
organization.users.remove or organization.users.update_role
organization.users.invite
API Reference
Required Headers
All authenticated GraphQL requests must include context headers:
Permission errors
When a permission check fails, the GraphQL response carries one of these codes in extensions.code. The status is in extensions.statusCode — the HTTP response itself is still 200.
Code
extensions.statusCode
Meaning
PERMISSION_NOT_FOUND
403
The caller has a role in this context, but it lacks the required permission. The message names the permission.
NO_ROLE_ASSIGNED
403
The caller has no role — direct or through a team — in this organization or library.
MISSING_CONTEXT
400
The request is missing the organization or library context the operation needs. Send x-organization, and x-library for library-scoped operations.
FORBIDDEN
403
Returned instead by the exports and sourcing services when their own access check fails. Sourcing puts the status in extensions.statusCode; exports puts it in extensions.originalError.statusCode.
See Error Handling for the full error format.
Querying Roles
Get All Permissions
Retrieve all available permissions in the system:
Get Role by ID
Retrieve a specific role with its permissions. Requires roles.read, which the Editor, Reviewer, Viewer, and Supplier system roles do not hold (allPermissions above needs no permission):
Get Organization Members with Roles
Query organization members to see their assigned roles and library access:
Managing Custom Roles
Create a Custom Role
Variables:
Update a Custom Role
Variables:
Delete a Custom Role
When deleting a role with assigned users, you must specify a migration target:
Variables:
Count Users in a Role
Before deleting a role, check how many users, pending invitations, and teams are assigned to it. Requires roles.read:
Custom Role Best Practices
When to Create Custom Roles
Create custom roles when system roles don't fit your workflow:
QA Engineer: Read access + change order approval, but no component editing
External Auditor: Read access + export capabilities for compliance reviews
Junior Engineer: Create components but not delete; submit COs but not approve
Supply Chain Manager: Supplier management + procurement-specific permissions
Custom Role Guidelines
Start from a template - Use the quick-start templates in the UI to begin with a baseline permission set

Follow least privilege - Grant only the permissions needed for the role's responsibilities
Document the purpose - Use the description field to explain who should be assigned this role
Review periodically - Audit custom roles quarterly to ensure they still align with team needs
Naming Conventions
Use job titles or functional descriptions: "Quality Engineer", "External Reviewer"
Avoid generic names like "Custom Role 1"
Include scope if relevant: "Library Admin - Prototypes"
User Access Patterns

Organization-Wide Access
For internal team members who need consistent access across all libraries:
Assign an organization role (Admin, Editor, Reviewer, Viewer)
User automatically gets that role in all libraries, including future ones
Optionally add library overrides for exceptions
Example: An engineer with Editor org role who needs Admin access to their project:
Org Role: Editor (applies everywhere)
Library Override: Admin on "Project Phoenix" library

Per-Library Access
For external partners, contractors, or users with limited scope:
Do not assign an organization role
Add specific library assignments with appropriate roles
User only has access to explicitly assigned libraries
Example: An external supplier:
No org role
Supplier role on "Shared Components" library
Viewer role on "Product Specs" library
Troubleshooting
Common Issues
User can't access a library
Check if they have an org role, a library-specific role, or a role through one of their teams
Check whether a team's library override restricts them on that library — any library role, direct or from a team, takes precedence over organization roles
Verify the library role hasn't been accidentally removed
User has more access than expected
Check for admin bypass (
isAdmin: trueon their role)Review permission implications - they may have a higher permission that satisfies the check
Review their team memberships — a team's role can grant access their direct roles do not
Custom role changes not taking effect
Changes to org roles cascade to library roles automatically
Users may need to refresh their session
Next Steps
See Error Handling for how permission and tenant-scoping errors are returned.
Last updated
Was this helpful?