Description
This should no longer be used. Please update your code to use grant-based roles. This function is deprecated.
Usage
roleFilter(id, label, filter)
Arguments
Argument | Description |
---|---|
id |
the id of the pre-defined filter |
label |
A human-readable label |
filter |
A formula that can be used to filter a record-level permission. |
Details
Pre-defined filters. Role filters allow other users to choose filters for permissions without having to write formulas themselves. This is a feature of legacy roles.
Examples
legacyRoleFilter <-
roleFilter(
id = "partner",
label = "Partner is user's partner",
filter = "ck5dxt1712 == @user.partner"
)