roleFilter | R Documentation |
This should no longer be used. Please update your code to use grant-based roles. This function is deprecated.
roleFilter(id, label, filter)
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. |
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.
## Not run:
legacyRoleFilter <-
roleFilter(
id = "partner",
label = "Partner is user's partner",
filter = "ck5dxt1712 == @user.partner"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.