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

EditEntity (entity select field) may discard selected values if the user is missing permissions on them #2541

Open
sleidig opened this issue Aug 27, 2024 · 0 comments

Comments

@sleidig
Copy link
Member

sleidig commented Aug 27, 2024

To Reproduce
assume a user who has access only to children with a certain category.

  1. Edit a Note that links to children, including some the current user cannot access
  2. Trying to close the form causes a warning about unsaved changes - even without enabling edit mode
  3. Editing and saving the note will discard the children from the entity-select field that this user cannot access

Expected behavior
We currently remove refs that are not found. Instead, we should probably keep them and display some placeholder chip in the select fields saying "not found or not accessible".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage / Analysis
Development

No branches or pull requests

1 participant