Enterprise Feature — RBAC is available on superglue Enterprise plans. Contact
us to learn more.
Core Concepts
Base Roles
Every user has exactly one base role. superglue ships with two base roles:| Base role | Description |
|---|---|
| Admin | Full access to everything. Bypasses RBAC checks. Cannot be edited. |
| Member | Default for organization members. Starts with access to all tools and systems. Tool and system allowlists can narrow it. |
Custom Roles
You can create custom roles for specific use cases, such as a Sales Team role with access to CRM tools and systems. Custom roles are fully editable and can be assigned on top of a user’s base role.Allowlists
Every role defines two binary allowlists:- Tools — which saved tools the role can run
- Systems — which systems the role can access
"ALL"— every current and future resource is allowed- Specific list — only listed resource IDs are allowed
Tool And System Dependencies
Tool and system allowlists are intentionally entangled:- A tool is effectively visible and runnable only when the user has access to the tool and every system referenced by the tool’s request steps.
- Granting a tool without its required systems means the tool may still be hidden or blocked.
systems: "ALL"satisfies every tool system dependency.
Multi-Role Evaluation
Users can have multiple roles: one base role plus any number of custom and personal roles. Resolution is union:| Layer | Semantics |
|---|---|
| Tools | If any role allows a tool, the tool ID is allowed |
| Systems | If any role allows a system, the system ID is allowed |
Personal Roles
Every user can have a personal role: a per-user allowlist that grants individual access on top of base and custom roles.- Each user has at most one personal role
- Personal role allowlists are unioned with the user’s other roles
- Admins can edit personal roles to grant or revoke direct personal access to tools and systems
- Use case: giving a single team member access to a sensitive system without creating a shared role
POST /v1/users/:userId/personal-role).
Auto-Grant On Resource Creation
When a user creates a new tool or system, superglue automatically grants it to the creator’s personal role:- New tool -> appended to the creator’s personal tool allowlist
- New system -> appended to the creator’s personal system allowlist
Managing Roles
Via The Dashboard
- Navigate to Control Panel -> Organization
- Open Access Rules
- Use Org Roles to create and edit shared roles
- Use Personal Roles to grant per-user tool and system access
Via The API
Roles are represented with binary allowlists:"ALL" means open access. Empty arrays, missing fields, or null mean no direct access from that role.