Skip to main content

To configure Granular Access Control (GAC), Appsmith provides pre-defined roles along with the flexibility to create your own roles. This page provides information on default and custom roles in Appsmith.

Default roles

Default roles provide standardized permission sets designed to match different user responsibilities in Appsmith. They include pre-defined permissions tailored for roles such as administrators, developers, and app viewers, and cannot be altered or deleted. You can assign these roles to your users if the permissions align with your desired permission model. To view the default roles available for your Appsmith instance, toggle the Default Roles option on the Roles screen.

Toggle the Default roles options to view Default Roles
Toggle the Default roles options to view Default Roles

Instance level

Instance-level default roles have permissions that govern access to Appsmith instance, affecting all workspaces and users within the instance. Some instance-level roles can be tailored to provide specific access to all users. The instance-level roles include:

Workspace level

Workspace-level default roles control access within a specific workspace. These roles are pre-defined, offering standard access controls tailored to each workspace. The workspace level roles are not available for customization. They include:

Application level

Application level default roles control access within a specific application. These roles are pre-defined with standard access controls for each application. The application level roles are not available for customization, and are on-the-fly created when you share an application by providing Developer or App viewer access to the user. They include:

Custom roles

Custom roles in Appsmith allow users to define specific permission sets tailored to their business needs. With custom roles, instance administrators can fine-tune access levels by assigning granular permissions to different users or user groups. To create a custom role, click the Add role button on the Roles screen. For more information about setting up a custom role, see Custom Roles.

Click the Add role button to create a custom role
Click the Add role button to create a custom role

View role assignees

The Roles screen shows how each role is assigned. The Assignees column lists direct assignment counts as N users · M groups. For the Default Role for All Users, the column shows All users instead of numeric counts, because every user in the instance inherits that role.

Assignees column on the Roles screen showing user and group counts
Assignees column on the Roles screen

To review who has a role:

  1. Go to Admin Settings > Roles.
  2. Open the role.
  3. Select the Assignees tab. Use the Permissions tab to configure the role's permission tree.
Assignees tab on a role showing users with Direct and via group sources
Assignees tab on a role

The Assignees tab is view-only. It lists users who have the role either directly or through a group. To assign or unassign a role, use the Users or Groups pages.

Assignee sources

Each user row shows the assignment source:

  • Direct: You assigned the role to the user.
  • via group name: You assigned the role to a group that includes the user. The group name links to that group's settings page.

A user can show both sources when you assign the role directly and through one or more groups. Users provisioned through System for Cross-domain Identity Management (SCIM) show a provisioned indicator next to their username. For more information, see User Provisioning & Group Sync.

Filter and search assignees

Use the filter control on the Assignees tab to narrow the list:

FilterShows
AllUsers with the role from any source
DirectUsers assigned the role directly
Via groupUsers who inherit the role through a group

Use the search field on the role page to find assignees by username. Scroll the list to load more results when a role has many assignees.

Default Role for All Users

For the Default Role for All Users, the Assignees tab shows Assigned to all users instead of an enumerated list. Membership is implicit for every user in the instance. Configure the permissions for this role on the Permissions tab. For more information, see Configure Default Access to Apps.

Assignees tab for Default Role For All Users showing Assigned to all users
Assignees tab for Default Role For All Users

See also