Apply Scope
The Apply Scope card lets you define who can access records and under what conditions. This configuration is available across all tabs (List View, Forms, Detail View, and Select Data) and uses the same Access Rules interface.
Go to Areas → General, click the gear icon on a collection, then open any tab that includes an Apply Scope card.
Access Rules
Each scope configuration consists of one or more Access Rules. Click Add Access Group to add a new rule.
Who can access
Define the target audience for the rule.
| Setting | Description |
|---|---|
| Restricted Access | Turn on to restrict access to specific roles. |
| Auth Collection | Select the authentication collection (for example, Users, Admins) this rule applies to. |
| Roles | Select the specific roles within the chosen Auth Collection that are allowed access. |
When can access
Define the conditions under which access is granted. This works like a query builder.
| Column | Description |
|---|---|
| Conjunction | Shows WHERE for the first condition, and AND/OR for additional conditions. |
| Field | Select the field in the current collection to evaluate. |
| Operator | Choose a comparison operator (for example, is equal to). |
| Value | The value to compare against. Can be a static value or a dynamic session field. |
Join conditions
Lets you extend the access check by joining with related collections and applying conditions on them. Click Add Join Condition to add a new relationship check.
| Column | Description |
|---|---|
| Conjunction | WHERE for the first condition, and AND/OR for additional conditions. |
| Field | Select a field from the related collection. |
| Operator | Choose a comparison operator (for example, is equal to). |
| Value | The value to compare against. |
Value input controls
Beside the Value input, use these icons to map dynamic values:
- User icon: Map the value to a field from the logged-in user's session.
- Grid/table icon: Map the value to another field from the main collection (to compare fields across collections).
Click Add Condition to add another condition for the same joined collection. Click Add Group to add a group of conditions for nested logic.