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

editor user are removed from authors when they add another author #470

Open
vincent-peugnet opened this issue Oct 29, 2024 · 0 comments
Open
Labels
bug Something isn't working editor

Comments

@vincent-peugnet
Copy link
Owner

vincent-peugnet commented Oct 29, 2024

bug was introduced here:

c9f2d86#diff-eac6a59c38ca457ee97d976b59190fad8c23f056b2d55ad56659357f7462489eR28

safeguard against editor removing themself from authors too easily

It just did the opposite 🤣

I added a disabled HTML attribute to prevent for unchecking, but this also prevent for sending the data. Maybe this should come with a hidden field.

This also unveil a lack of backend safety: backend should prevent this.

@vincent-peugnet vincent-peugnet added bug Something isn't working editor labels Oct 29, 2024
@vincent-peugnet vincent-peugnet changed the title editor user are removed from authors when adding another author editor user are removed from authors when they add another author Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor
Projects
None yet
Development

No branches or pull requests

1 participant