Documentation
Apps
Guides
Change Permissions Within a Page

Change Permissions Within a Page

Preparation

  • Ensure you have created a permissions group for the members whose actions you want to restrict.

How to Hide Components

  1. Place a [Container].
  2. Place the components you want to restrict actions on inside the [Container].
  3. In the [Hidden] condition of the [Container], enter {{ querierCurrentUser.groups.some(g => g.id === "<insert the relevant permissions group ID here>") }}.

How to Disable Components

  1. Place the components you want to restrict actions on.
  2. In the [Disbled] of the components placed in step 1, enter {{ querierCurrentUser.groups.some(g => g.id === "<insert the relevant permissions group ID here>") }}.

Note: If the components you placed do not have a [Disable Condition] option, please try using the "How to Hide Components" method.