Is there a way to set a column as “read-only” so that a user can query the data but not be able to make changes?
An example would be a unique ID generated by the admin side anytime someone registers. We would want to set that and then never have it change in the future.
Another example would be setting someone’s account permissions by an ID. We wouldn’t want someone to be able to upgrade their account their the API. We would want to control that with our staff.
Is something like this possible?
EDIT: I think what I’m looking for is the ability to update a specific column via REST but not the Javascript API.
There is also an option to try to use beforeUpdate event handler. You need to implement the logic for checking the role. And if this is the role for which you want to prohibit editing a column, then exclude this column from the query.