Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split "writablePropFilter" to "createPropFilter" and "updatePropFilter" #593

Open
andrus opened this issue Dec 24, 2022 · 0 comments
Open

Comments

@andrus
Copy link
Contributor

andrus commented Dec 24, 2022

Agrest Authorizer API supports configuring separate rules for "create" and "update" operations. We need to do the same for "prop filters". It is quite common to allow a certain property to be passed during creation, but then disallow its change on further updates.

This will affect "writablePropFilter" API as well as AgAttribute.writable and AdRelationship.writable annotation properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant