zenstack icon indicating copy to clipboard operation
zenstack copied to clipboard

[Feature Request] Allow permission checking with check API on field level

Open lucaheft opened this issue 1 year ago • 0 comments

Currently check API only supports permission checking on model level. It would be nice to also check permissions on field level.

This would allow conditional rendering on a field level.

Use case: Let's say we have a form to update a Post model. A user may have the permission to read all fields of a post but only update some. We could therefor disable the HTML Input element, for which the user only has read permissions, based on the field level access.

lucaheft avatar Nov 26 '24 08:11 lucaheft