User Roles & Permissions Explained
RUAL has no fixed roles. What a user may do is composed from permission settings, scopes and optional user groups on their user document, and an administrator, developer, API user or visitor is a combination of those.
Access is composed from three layers
If you come from a system with fixed roles like "admin" or "editor", RUAL works differently: there are no predefined roles. What a user can do comes from three layers on their user document:
Staging Developer or Cluster Admin, for what the account may do in RUAL Studio and through cluster APIs.
custom_scopes array that grant access to specific pages and APIs built on the cluster.
groups_guid array, that act like role templates.
Mapped to the classic role mental model:
| You think of | In RUAL that is |
|---|---|
| Cluster administrator | An account with Cluster Admin (the is_root_user setting). In the Users list they carry an admin badge, and they possess full access to all resources within the cluster. |
| Developer | Blueprint permissions: Wildcard Scope to reach what they build, plus Staging Developer or Production Developer depending on how far they may go. |
| API-only user | An account that never opens RUAL Studio. It authenticates through the login APIs and its scopes decide which pages and APIs it can call. |
| Visitor | No account at all. They only reach content in the *public scope; anything scoped differently sends them to sign in. |
These permissions are the ones you assign most
The full list is in User Access Management.
| Permission / setting | What it allows | Typical holder |
|---|---|---|
Cluster Admin (is_root_user) |
General all-access, which settings can still limit, with extra security measures against login attacks and password forget requests. Admins can only be appointed by admins. | Cluster owners: grant to a select few. |
Wildcard Scope |
The scope *: access to any custom API and custom page created in RUAL. Being a Cluster Admin does not grant it. |
Developers. |
Staging Developer |
View, modify and simulate blueprints. Their changes can only be saved by developers with save access. | Junior developers. |
Production Developer |
Modify and save blueprints, which is what publishes them. | Senior developers. |
Blueprints: Production Run |
Use the Run production button in a blueprint, which runs it for real on production data. Without it, pages still run for visitors as usual. |
Developers debugging live behavior. |
Manage user permissions (setting_manage_users) |
Manage other users: their passwords, their permissions and the allow_login_as_user setting. Without it, you cannot modify accounts with higher permissions. |
Administrators. |
Available for login-as (allow_login_as_user) |
Allows the account to be signed in as, using the user signin-as function in blueprints. Cannot be enabled for is_root_user accounts. |
Support impersonation targets, off by default. |
Finer-grained blueprint permissions (Blueprints: Access All, Blueprints: Activate blueprints and Blueprints: Remove) let you tune exactly how far each developer may go. Cluster APIs use the same model with scope values such as setting_manage_users and setting_edit_blueprints.
Studio access and API access are separate
| Access type | Used for | Authenticated by |
|---|---|---|
| RUAL Studio access | Building blueprints, managing users and storage through the browser. | Username and password authorized for RUAL Studio. |
| API access | Calling cluster APIs from custom frontends, scripts or external services. | An access_token obtained through the login APIs. |
API tokens are valid for 14 days and extended automatically while actively used. Pass a token as an Authorization: Bearer header, as x-authtoken or x-token, as a cookie named access_token, or in the URL as ?access_token=. See Getting Access for the onboarding flow and Cluster APIs for the authentication reference.
For API access, the custom_scopes array on the user document is decisive: every page and API you build is protected by scopes, and a token only reaches the endpoints its user's scopes cover. An account with the scopes below can call pages and APIs scoped view_customers or create_orders, and nothing else:
{
"custom_scopes": [
"view_customers",
"create_orders"
],
"username": "jane.doe"
}User groups are the closest thing to roles
A group is a document in the usergroups database with a name and a scope array. Assign a user to a group by adding the group's guid to the groups_guid array on the user document: from then on, the user receives every scope in that group. A user can belong to multiple groups and receives all unique scopes from all of them, plus any individual scopes in their own custom_scopes.
Model your groups after the kinds of users your cluster serves:
| Group | Example scopes | Purpose |
|---|---|---|
Sales |
view_customers, create_orders, view_reports |
Team members who need customer data and order creation. |
Customers |
view_orders, create_tickets |
End users who sign in to your app and reach its scoped pages and APIs. |
Support |
view_customers, view_tickets, create_notes |
Staff who help customers without seeing everything. |
Visitors need no group: without an account they only see *public content. A user assigned to two groups looks like this:
{
"custom_scopes": [],
"groups_guid": [
"94ad734891564818888bea7e2519aedd",
"1c5bfaf8fb034f8498d204c5072b554e"
],
"username": "jane.doe"
}Give a team member access in five steps
Open the users list
Sign in to RUAL Studio with an administrator account and open
UsersunderCluster Settingsin the left-side menu.Create the user
Set a username and password, and share the cluster URL and credentials privately.
Assign permissions
Assign what the work requires. For a developer, start with
Staging Developerand add more only when needed.Add scopes
Add individual scopes to
custom_scopes, or better: assign the user to a group viagroups_guidso permissions follow the role, not the person.Let them sign in
The user signs in and completes first-time setup, including two-factor authentication when your cluster requires it.
Keep access small and reviewable
- Least privilege: grant only the scopes and permissions a user needs, preferably through user groups instead of individual scopes.
- Protect root accounts:
is_root_useraccounts get extra protection against login attacks and password forget requests. Keep them few, and never enableallow_login_as_userfor them (RUAL prevents this). - Guard system settings: the
Manage system settingspermission controls who can view and change system settings; access to secured system settings is logged. - Review the audit log: sensitive actions such as removing blueprints and changing permissions are recorded. Review the log regularly.
- Use two-factor authentication: users manage their active sessions and multi-factor options on the default
securitypage.
allow_login_as_user setting lets an administrator sign in as that user from blueprints: powerful for support, easy to abuse. Only users with setting_manage_users can configure it, it cannot be set on is_root_user accounts, and you should enable it only where impersonation is truly needed. RUAL also blocks mass multi-authentication attempts from the same IP address and repeated unsuccessful attempts against the same account by default.
Next steps
Getting Access Obtain cluster credentials, sign in for the first time and set up API tokens. User Access Management The full permission list, user group examples and account settings reference. Remote Access Control Scope your pages and APIs: public and logged-in scopes, rate limiting and throttling.Frequently asked
Does RUAL have fixed user roles like admin and editor?
No. RUAL composes access from per-user permission settings, scopes and optional user groups. What people call an administrator, developer, API user or visitor is a combination of those settings, not a fixed role.
What is the difference between RUAL Studio access and API access?
Studio access decides who may open and edit the cluster management interface. API access is granted through scopes on a token and decides which endpoints that token may call. A user can have one without the other.


