Skip to content

Role-Based Access Control

Powerful and flexible permissions for your users

Enterprise-grade authorization for secure and scalable access management.

Role-Based Access Control
Available on every plan
Enabled for your workspace
Configured by your customer
3Streaming to your systems

Access control

Granular, connected, secure

1

Granular

Fine-tuned access control with detailed roles and permissions, defined once and enforced everywhere your app checks.

2

Connected

Sync role assignments directly from a customer's identity provider over SCIM or SAML, so the org chart stays the source of truth.

3

Secure

Enforce a least-privilege access policy with org-scoped roles, so one customer's role model never leaks into another's.

Role-based permissions

Assign permissions to roles, not to people

Assign permissions to roles rather than individual users to simplify access control and reduce administrative overhead. Admin, Editor and Viewer are there on day one, and you can go further whenever you need to.

  • Permissions like users:view, users:create, billing:manage and api:read
  • Grouped into roles that mean something to the people using your product
  • Changed centrally, with every session picking the change up
  • Bring your roles: migrate an existing model with minimal changes and zero downtime
Role-based permissions
Available on every plan
Enabled for your workspace
Configured by your customer
3Streaming to your systems

IdP role sync for customer growth

Let their directory decide who is an admin

Sync roles from identity provider groups to manage access across environments and the organization. Group sync works over SSO or SCIM, and keeps working as your customers grow.

  • Map IdP groups such as Engineering, Support or Contractors onto your roles
  • A promotion in their HR system becomes a permission change in your app
  • Custom roles scoped to a single organization, so role sprawl stays contained
  • Define a customer's specific permissions without affecting access for anyone else
IdP role sync for customer growth
Available on every plan
Enabled for your workspace
Configured by your customer
3Streaming to your systems

Smarter roles in a fraction of the time

Authorization that arrives with the session

Everything you would otherwise build twice: once badly, and once again after the first enterprise security review.

Role-aware sessionsIntegrate role data into access tokens, enabling direct, role-based access checks within user sessions.
Drop-in access managementA ready-made, embeddable UI for managing users, roles and invites from just a few lines of code.
Quick configurationSet up permissions, define roles and map IdP groups to user roles within organizations, all from one dashboard.
Unified AuthN and AuthZVerify identity and manage permissions through one API, instead of stitching two vendors together.
Easy session integrationDrop roles into your existing sessions without complex integration work or a second round trip.
Bring your rolesMigrate your existing roles and permissions with minimal changes and zero downtime.

Roles and permissions that fit your workflow

Check access without another round trip

The Paycux API brings Enterprise Ready features to your application. Permissions are included in the JWT, so you can check access levels at runtime without extra API calls.

1import { withAuth } from '@paycux/authkit-nextjs';
2import { BillingInfo, BillingInfoNoPermission } from './billing-info';
3
4export default async function BillingManagement() {
5 const { permissions } = await withAuth();
6
7 if (permissions?.includes('billing:manage')) {
8 return <BillingInfo />;
9 }
10
11 return <BillingInfoNoPermission />;
12}

Transparent pricing

Priced by monthly active user

Role-Based Access Control is part of User Management, so it is priced with the people you already pay for rather than as a separate line item on the invoice.

Roles and permissionsIncluded
Role-aware sessionsIncluded
IdP role sync over SSO or SCIMIncluded
Custom roles per organizationIncluded
Beyond the included volumeVolume pricing

Questions

Frequently asked

How do I check a permission in my app?

Read it off the session. Permissions travel inside the access token, so a check is a local array lookup rather than a network call on every request.

Can each customer have their own roles?

Yes. Roles can be scoped to a single organization, so one customer can add a Reviewer role without every other tenant inheriting it. That scoping is what keeps role sprawl from becoming permanent.

What happens when a role changes mid-session?

The next token refresh carries the new permissions. For changes that must land immediately, revoke the session and the user is re-authorized on their next request.

Can roles come from the customer's identity provider?

Yes. Map their IdP groups onto your roles and assignments arrive over SSO or SCIM. Their IT team keeps managing access where they already manage it.

We already have a permission model. Do we throw it away?

No. Bring your existing roles and permissions across with minimal changes and no downtime, then move the enforcement points over at your own pace.

Take control of user access

Set up enterprise-grade RBAC in minutes. Simplify roles and permissions and fine-tune user access with Paycux.