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

Add permissions check for relational field only if child has filter #12549

Merged
merged 4 commits into from Apr 6, 2022

Conversation

licitdev
Copy link
Member

@licitdev licitdev commented Apr 3, 2022

Fixes #12548.

@licitdev licitdev added this to the v9-next milestone Apr 3, 2022
@licitdev licitdev self-assigned this Apr 3, 2022
@licitdev licitdev marked this pull request as ready for review April 5, 2022 17:01
@rijkvanzanten rijkvanzanten merged commit 307cef8 into directus:main Apr 6, 2022
@licitdev licitdev deleted the fix/required-relational-perms branch April 6, 2022 15:51
br41nslug pushed a commit to br41nslug/directus that referenced this pull request Apr 19, 2022
…irectus#12549)

* Add permissions check for relational field only if child has filter

* Allow id field for actions such as update and delete

* Use primary key instead of id

* Add test
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to patch relational fields without read permissions
2 participants