User Access Management (UCM)

Cluster administrators create and manage users in RUAL Studio, under Cluster Settings, Users. Each account combines a group, permissions, scopes and user groups, and everything an account does can be audited afterwards.

Within your cluster you can create users for developers, customers or visitors. This guide is written for cluster administrators. If you need an account yourself, start with Getting Access. For how roles and permissions fit together, see User Roles Explained.

The Users list shows every account

In RUAL Studio, open Users under Cluster Settings in the left-side menu for a list of all active users within your cluster. Users with an admin badge possess full access to all resources within the cluster, subject to any specific settings enabled or disabled on their accounts.

uam step 1
The Users list in RUAL Studio, showing the admin badge on full-access users and the Create User action
The Users list in RUAL Studio, showing the admin badge on full-access users and the Create User action

Create a user in the Users list

RUAL clusters have no public sign-up. Every account is created by an administrator. Creating and editing users requires the Manage user permissions permission or full (*) access.

  1. Open the list

    Open RUAL Studio, select your cluster and go to Users under Cluster Settings.

  2. Click Create User

    This opens the create dialog.

  3. Fill in the details

    A username and a password, plus any profile fields your cluster uses. Share the credentials with the user privately: Getting Access describes what a new user needs for their first login.

  4. Save the user

    The account is created immediately and appears in the Users list.

  5. Fine-tune the account

    Open the new user from the list to enable permissions, set account settings, add custom scopes or assign user groups.

uam step 2
The Create user dialog with fields for the new account
The Create user dialog with fields for the new account
uam step 3
A user detail page with permission toggles and account settings
A user detail page with permission toggles and account settings

Every user is stored as a document in the cluster, so anything you can set in the dialog can also be managed from blueprints or through the cluster APIs.

Permissions come in five sections

A user's detail page first asks for a Group: Admins, Developers, Employee or User. Only cluster admins can assign admins. The group decides which permissions the page offers, so a User sees fewer rows than a Developer.

SectionPermissionWhat it allows
Account levelCluster AdminGeneral all-access, which settings can still limit. Admins can only be appointed by admins.
Wildcard ScopeThe scope *: access to any custom API and custom page created in RUAL. Developers mostly always need it.
BlueprintsBlueprints: Access AllManage and view blueprints and storages of other users.
Staging DeveloperView, modify and simulate blueprints. Their changes can only be saved by developers with save access.
Production DeveloperModify and save blueprints into production. This allows full control over blueprints.
Blueprints: Production RunUse the Run production button in blueprints. It only disables the button: pages still run for visitors.
Blueprints: Activate blueprintsActivate and deactivate blueprints, which affects storage events, repeating events and pages.
Blueprints: RemoveRemove blueprints, recorded in the audit log. Removed blueprints only expire after 48 hours.
System & ClusterManage cluster settingsView, create and modify cluster settings.
Manage cluster updatesView, update and roll back nodes.
Manage system settingsView, create and modify system settings. Secure setting keys are audit logged on view.
Manage storagesEdit and delete existing storages.
Manage domainsManage domains within the cluster.
Manage Custom ComponentsCreate and modify React components within the cluster.
Manage CacheView all cache keys, and modify keys and their values.
Manage Local DevicesManage and view local devices.
View Cluster StatisticsView statistics of the cluster: traffic, CPU, memory, Elasticsearch and Redis usage.
Users & AccessManage user permissionsManage other users: their passwords and permissions. Users without it cannot modify accounts with higher permissions, and only admins can promote to admins.
Manage user groupsManage user groups and assign users to groups.
See user activitySee the user activity within the cluster.
Login & AuthenticationAvailable for login-asLets admins, developers and employees log in as this user, to view pages and run actions as them.
Allow passwordless loginThe user can log in with email or phone, without a password.

A Cluster Admin implicitly holds the Blueprints, System & Cluster and Users & Access sections. The other two do not follow from it: Wildcard Scope is a scope on the token, and the Login & Authentication settings cannot be stored alongside other enabled settings.

Most accounts fit one of four access levels

Use these as a starting point and adjust to your team:

Access levelTypical setupWhat the user can do
Full-access administratorAn admin account with Cluster Admin (the is_root_user setting) enabledEverything: blueprints, user management and system settings. Reserve for one or two cluster owners.
Production developerWildcard Scope, Staging Developer, Production Developer and Blueprints: Activate blueprints, without Manage user permissionsEdit, save and activate blueprints, but not manage users or security settings.
Read-only viewerNo developer or manage permissions; only view scopes through custom_scopes (optionally View Cluster Statistics)Sign in and view the pages, APIs and statistics their scopes allow, without modifying anything.
API-only integration userA regular account with only the custom_scopes of the endpoints it needs to callAuthenticates through the login APIs and calls cluster APIs with an access_token. Never intended for RUAL Studio work. See Getting Access and Cluster APIs.
Start with the minimum It is easier to grant a missing permission later than to clean up after an over-privileged account. Prefer user groups over individual scopes so access stays reviewable.

A scope goes in the custom_scopes array

To give a user access to a page or API, add the scope name as a value in the custom_scopes array field within the user's document. On the user page these are the Access Scope rows, with Add Scope. Example of a user granted two scopes:

User with Custom Scopes
{
  "custom_scopes": [
    "view_customers",
    "create_orders"
  ],
  "username": "john.doe"
}

User groups bundle scopes for many users

Instead of assigning scopes to each user individually, create groups with predefined scopes and assign users to them. Find them under User Groups in the side menu.

A group has a name and a scope array

User groups are stored in the usergroups database. Each group contains:

  • name: a descriptive name for the group (for example "Sales", "Finance", "Support").
  • scope: an array of scope values that define all permissions for users in this group.
Sales User Group
{
  "name": "Sales",
  "scope": [
    "view_customers",
    "create_orders",
    "view_reports"
  ]
}

Assign a user by adding the group's guid

To assign a user to one or more groups, add the group GUIDs to the groups_guid array field in the user's document. A user assigned to multiple groups receives all unique scopes from all groups they belong to.

Group nameExample scopesUse case
Salesview_customers, create_orders, view_reportsSales team members who need access to customer data and order creation
Financeview_reports, manage_invoices, view_paymentsFinance team members who need access to financial data and reports
Supportview_customers, view_tickets, create_notesSupport team members who need to help customers and manage tickets

Example of a user assigned to both Sales and Finance groups:

User with Multiple Groups
{
  "custom_scopes": [],
  "groups_guid": [
    "94ad734891564818888bea7e2519aedd",
    "1c5bfaf8fb034f8498d204c5072b554e"
  ],
  "username": "john.doe"
}

This user receives all unique scopes from both groups, plus any individual scopes in their own custom_scopes field.

Account settings add fine-grained control

Some settings align with the permissions above, and these are worth knowing by key:

KeyDescription
allow_login_as_userWhen on, the user signin as function can be used for this account. Without it, blueprints cannot sign in as this account. It cannot be enabled for accounts with the is_root_user setting.
is_root_userEnabled for accounts designated as cluster administrators. Such accounts enjoy additional security measures against login attacks, password forget requests and sign-in.
setting_manage_usersWhen on, the account may configure the allow_login_as_user setting for other accounts. If the target account already exists, only users with this setting can configure it.
User Settings
{
  "settings": [
    {
      "key": "allow_login_as_user",
      "value": "off"
    },
    {
      "key": "is_root_user",
      "value": "on"
    }
  ]
}

Edit, reset and remove users from the list

Click any user in the Users list to open their detail page, where you can change permissions, settings, custom scopes and group membership, then save. Users without Manage user permissions cannot modify accounts with higher permissions than their own.

Each row in the users table also has quick actions:

  • Activity: opens the User Activity page for that account, so you can review what the user has been doing in the cluster.
  • Reset: clears the failed login attempt counters. RUAL blocks repeated unsuccessful authentication attempts, so use this to unlock a user who was locked out after too many wrong passwords.
  • Delete: permanently removes the account and revokes the user's access to the cluster. Use this when someone leaves the project. It cannot be undone.
uam user actions
Row actions in the users table: Activity, Reset, and Delete
Row actions in the users table: Activity, Reset, and Delete

Who to ask when you need access

You cannot create an account for yourself. An administrator of that cluster must create one for you.

  • You know an administrator: send them your name and the role you need. Getting Access walks you through receiving credentials and your first login.
  • You don't know who manages the cluster: ask the person or team that invited you to the project. They can point you to the cluster owner.
  • You are the administrator and locked out by a broken custom login page: open /login?studio=1 on the cluster to reach the default login page. See Login Escape Hatch.

Keep access small and review it

  • Least privilege: grant only the permissions a user needs for their role, preferably through user groups instead of individual scopes.
  • Limit full-access accounts: keep the number of admin users small. is_root_user gives them additional protection against login attacks, password forget requests and sign-in abuse.
  • Be careful with allow_login_as_user: it lets blueprints sign in as that account through the user signin as function. Enable it only for accounts that genuinely need impersonation (for example support flows), and control who may enable it with setting_manage_users. It can never be enabled on is_root_user accounts.
  • Review access regularly: delete accounts of people who left the project, and unlock legitimate users with the Reset action instead of sharing accounts.

User Activity and the audit log show what happened

The User Activity page shows what an individual account has been doing in the cluster. Open it through the Activity action on a user in the Users table. Activity data is also available through the cluster APIs with the user_activity_view scope, for example to feed an external monitoring tool.

uam activity
The User Activity page listing recent actions of a single user
The User Activity page listing recent actions of a single user

Sensitive cluster actions are recorded in the audit log as well: every blueprint modification and removal, and every access to a secured system setting. Review the audit log after incidents and on a regular schedule; see Audit log navigation for where to find it.

Next steps

Getting Access The new-user perspective: obtaining credentials, first login, cluster URLs and API tokens. User Roles Explained How roles, permissions and scopes fit together across a cluster. Access Token Device Information Device and browser details available on every access token. Cluster APIs Authenticate API-only users and call cluster endpoints with access tokens.

Frequently asked

How do I create a user in RUAL?

In RUAL Studio, open the Users section under cluster settings and use Create User. You set the account details and then assign the permissions or user group that fits the person's role.

How do I reset a user's access in RUAL?

The users table has a Reset action per row, next to Activity and Delete. Use Activity to see what that account has been doing before you change or remove access.