# Roles in UI Bakery

For every invited seat in UI Bakery, there are three roles available out of the box:

* **Admin** – can invite and manage other users, change workspace settings, develop and deploy apps.
* **Editor** – can view and develop apps.
* **User** - can use the applications in the End-user mode, and can be a member of a shared permission group.

Apart from default user roles, you can also create and assign [custom roles ](#custom-roles)to your users. Each user can be assigned multiple roles if necessary.

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FTayfL9GVowMvE8DwzkuJ%2FCleanShot%202024-11-15%20at%2016.39.40%402x-min.png?alt=media&#x26;token=551d6bca-6160-4d9f-b8d7-063fe374ae77" alt=""><figcaption></figcaption></figure>

To learn more about role permissions, refer to this [article](https://docs.uibakery.io/concepts/workspace-management/role-permissions).

### Filtering users by role

On the *Users & Permissions* page > *Users* tab, you can filter users by their role making it easier to find exactly who you're looking for. For longer lists, you can also control the number of users displayed per page.

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FQVz8JjYIwBJWJY7hYCkS%2FCleanShot%202025-05-16%20at%2015.59.29%402x-min.png?alt=media&#x26;token=b8b5ffe4-2d91-43ee-b37c-59cf7b644305" alt=""><figcaption></figcaption></figure>

## Custom roles

### Creating a custom role

You can create custom roles to manage access permissions to your different apps and data sources. For example, if you have Testers who need access only to Staging and Prod, you can create a specific custom role for them and grant separate access to these environments.

#### To create a custom role:

1. Click your workspace name and select **Users & Permissions**.
2. Next, head to the **Roles** tab and click **Add Custom Role**.
3. Give your role a meaningful name and select the necessary permissions for apps and data sources.
4. Click **Create role** to save it.

Once the role is created, you can assign it to your invited users. Each user can be assigned multiple roles.

{% @arcade/embed flowId="pjaxhZDPckPFehY6GvIP" url="<https://app.arcade.software/share/pjaxhZDPckPFehY6GvIP>" %}

When such users log into UI Bakery, they will have access only to the environments you specified.

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FE70qy5yQtLKLbamLzqD5%2FCleanShot%202025-01-13%20at%2012.18.20%402x-min.png?alt=media&#x26;token=d62c34c5-7212-41af-827a-dd001e2d3e6c" alt=""><figcaption></figcaption></figure>

You can always modify your custom roles, if needed, or delete them when they're no longer necessary.&#x20;

## Redirect after login

It's also possible to specify a **Landing page URL** for specific user roles. By default, such users will be redirected to a path you provide after login or direct domain access. It may come in handy if you want to direct your users to a certain app or landing page.

{% hint style="info" %}
Only relative URLs starting with "/" are supported.
{% endhint %}

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2Fq393Vop9Pq60PYoo1PSZ%2FCleanShot%202024-11-15%20at%2015.00.48%402x-min.png?alt=media&#x26;token=e6616351-b7c7-40fd-9ee1-7842cf76d8bf" alt=""><figcaption></figcaption></figure>

Redirects also work with both *MFA* and *SSO* enabled.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uibakery.io/concepts/workspace-management/roles-in-ui-bakery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
