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

Fix content missing when editing skills without permission #788

Open
Robin481 opened this issue Jan 9, 2025 · 0 comments
Open

Fix content missing when editing skills without permission #788

Robin481 opened this issue Jan 9, 2025 · 0 comments
Labels
plan needs to be planned Quick win

Comments

@Robin481
Copy link
Member

Robin481 commented Jan 9, 2025

Currently, when clicking on the edit symbol of a skill in the /skills view without having the relevant permission (e.g. without the admin role) will cause the row to disappear and just display content missing.

This should instead display the specific reason, in this case. You are not allowed to edit skills without deleting the row.

TODO:

  • Display an permissions error message instead of deleting the row when trying to edit without the necessary permissions
  • Tests, of course 🪳
@Robin481 Robin481 added the plan needs to be planned label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan needs to be planned Quick win
Projects
None yet
Development

No branches or pull requests

1 participant