Skip to main content

Organization Role

This lab demonstrates how to create and apply an administrative feature in an assignable role to a member in Retool. Sometimes, members in a Retool group need one or more administrative permissions to complete their work. Organization roles provide a way to select one or more administrative permission types that can be applied to an existing Retool Group. For this lab, imagine a builder team that needs to be able to create/manage queries in Query Playground (formerly Query Library).

Lab Requirements​

This lab demonstrates the Organization roles introduced in v3.300.0+.

Create Role​

You start by creating an organization role with permission types focused on Query Playground.

  • Select Settings > Roles > Create Role
  • Fill out the role name and description, and select under Query Playground the permission types:
    • Name: Query Playground Builder
    • Description: Role that allows a builder to create/manage queries
    • Permission Types: Edit query playground, View query playground

The following image shows the role definition.

Create Role
Create Role
  • Select Create. This will display the Query Playground Builder.
Role with no assignments
Role with no assignments

Apply policy to Builder Permission Group​

With the policy defined, you can easily associate it with a group

  • Select Query Playground Builder (Role)> Edit > Assignment. This will display the following:
Assignment
Assignment
  • Select Add group > (group that you want to apply policy to) > Next
Assign group
Assign group
  • This will display the group that now has these organization permissions, as shown below.
Updated assignment
Updated assignment

Summary​

The previous steps demonstrate how to define and apply an organizational role to a group providing one or more administration permissions.