Globals Access Control
You can define Global-level Access Control within each Global's access
property. All Access Control functions accept one args
argument.
\\Available argument properties:
Available Controls
Function | Allows/Denies Access |
---|---|
Used in the | |
Used in the |
Example Global config:
Read
Returns a boolean result or optionally a query constraint which limits who can read this global based on its current properties.
Available argument properties:
Option | Description |
---|---|
| The Express |
Update
Returns a boolean result or optionally a query constraint which limits who can update this global based on its current properties.
Available argument properties:
Option | Description |
---|---|
| The Express |
| The data passed to update the global with. |