Permissions
Permissions helps your app decide who can do what. For example, everyone on a team might read a project, while only its owner can delete it or invite people.
You define those rules once, assign access to the right people, and check the rules from the backend that owns your data. The service runs on AWS and can be used with SaaSLayer Users or an existing identity provider.
Already use Auth0, Clerk or your own sign-in service? Keep it. Your backend can verify the existing session and ask Permissions whether that person may perform an action. You don't need to migrate your sign-in flow or adopt SaaSLayer Users. See keep your existing sign-in for the integration pattern.
What you can build
Start with one concrete rule in your app:
| Your app needs… | A starting model |
|---|---|
| Owners can edit; members can read. | Two roles with different permissions. |
| Each team sees only its own projects. | Scoped access that keeps teams' data separate. |
| Someone can share one document. | A grant for that particular resource. |
| Customers need keys for scripts or integrations. | API keys with limited actions, workspace access and expiration. |
| A support person needs temporary access. | A bounded session, added when you need that workflow. |
You can begin with simple roles. Conditions, approvals, delegation and other features are there for the apps that need them; they aren't prerequisites for making your first access check.
How the docs are organized
For a first integration, read these in order:
- Quickstart: create a small access model and make a check.
- Core concepts: translate your app's people and data into the terms used by the API.
- Permission checks: enforce a decision in your app's backend.
Then use the guide that matches the problem in front of you:
| Guide | Use it when… |
|---|---|
| Model your authorization | You're deciding how teams and roles fit your app. |
| Hierarchy and namespaces | You need more detail on boundaries and naming. |
| Policies and conditions | Access depends on more than a role, such as ownership or time. |
| API keys | You want to issue, verify, rotate or revoke keys for your app's users and integrations. |
| Access admins | You need to manage who administers the deployment. |
| Support staff | You need controlled support access to an app user's view. |
| Operations and audit | You need history and an account of access changes. |
| Delegated sessions | A service or support person needs temporary authority. |
| Federated principal auth | A workload needs to authenticate with OIDC, Kubernetes or AWS IAM. |
| Agent delegation | An AI agent needs limited access on someone's behalf. |
| Access requests | People need to request access and get approval. |
| Event delivery | Your app needs notifications about access workflows. |
The sidebar groups the later guides so you can leave them until they're useful.
API reference
Your deployment serves its OpenAPI document at
GET <your Permissions API base URL>/openapi.json. This is a public, read-only
schema endpoint, not a key that grants access to protected operations. Use your
own deployment's URL when exploring the API.
The normal implementation path
For a project tracker, the first working flow might be:
- Create an organization and workspace for a team.
- Identify the person who is using your app.
- Define an owner or member role and its permissions.
- Assign that role within the right team or workspace.
- Check access before your backend reads or changes a project.
- Test an allowed request and a denied request from another team.
Keep that first model small. Add sharing, conditions or approvals when a real part of your app needs them. Continue with the Quickstart.