I have a use case where I’d like to render a button only if the user has write access to a record and hide it when they only have read-only access. The first solution that comes to mind is a ui-only field with a merge value, but I can’t pinpoint a documented variable and the model API doesn’t seem to have this attribute on the row level. Ideally this would be an attribute of the {{Record}} merge variable.
Is there a simple merge variable to check for permissions on a row?
I could also see this being useful in row actions where you may want to render an action based on access level.
Question
Determine if a record in a model is read only
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.