Permissions
for your app

Decide who can view, edit and share. Start with roles and add resource-level rules as your app grows.

Works with your existing sign-in.
API key management included.

Design workspaceLaunch brief
Alex MorganWorkspace member
Editor
Request allowedThis role includes the selected action.
Interactive example. You define the roles and actions in your app.

Check before you act

Your backend asks: can this person perform this action on this resource, in this workspace?

Incoming request

Who
Alex · Editor
Action
Edit document
Resource
Launch brief
Workspace
Design

Ask Permissions

Check the access you've assigned for this action and resource.

Allow the action

Your backend performs the allowed operation.

allowed: true
In your backendJavaScript · Fetch
// Your backend: session already verified.
const result = await fetch(
  `${permissionsBase}/permissions/check`,
  {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'X-API-Key': serverKey,
    },
    body: JSON.stringify({
      userId: user.permissionsId,
      action: 'edit',
      resource: `document/${document.id}`,
      product: 'your-app',
      service: 'files',
      scope: document.workspaceId,
    }),
  }
)

if (!result.ok) throw new Error('Check failed')
const { data } = await result.json()

if (data?.attributes?.allowed !== true) {
  return new Response('Forbidden', { status: 403 })
}

// Only run the operation after an explicit allow.
return handleAllowedRequest()

Use an identity from the verified session and a workspace from your application data. Keep the authorized server credential on your backend. Errors or missing decisions must not run the operation.

Register your product, service and resource types, then assign access before making checks. Follow the quickstart · See the check contract

Beyond the login

Keep teams separate, give integrations limited access, and understand when permissions change.

Access in the right places

Scope a role to a workspace. Share a specific resource when someone needs access to just that item.

Model your workspaces

Keys with clear limits

Issue keys for scripts and integrations. Limit their permissions, workspaces and lifetime; rotate or revoke them when needed.

Create and verify API keys

Know what changed

Review access changes and investigate permission decisions when a teammate needs help.

Explore access history

Interface examples. Build your own screens or use the Preview management components.

Auth0ClerkSaaSLayer UsersYour provider
Keep the sign-in you already use.
Your backendVerify the session · map the identity
PermissionsCheck what this person can do

Keep your sign-in

Already use Auth0, Clerk or your own account system? Your backend verifies the session, maps the person to a Permissions user, then checks access.

You can also pair it with SaaSLayer Users for accounts and sign-in. Choose the layers you need.

Connect your existing provider

Add your access layer

Start with one workspace, one role and your first permission check.

Available in the controlled beta, with assisted setup.