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

Unclear error message when trying to edit a custom template without permission #989

Open
tsteur opened this issue Feb 25, 2025 · 1 comment
Labels
Bug Something isn't working
Milestone

Comments

@tsteur
Copy link
Member

tsteur commented Feb 25, 2025

  • Given you have a user that has write and publish permission tag manager but not for custom templates.
  • Try to edit a custom tag
  • Click Save
  • See error message that shows up:

Image

The error message in red isn't helpful in that situation. Yes there is a yellow warning from the beginning when opening the tag, but this may be missed easily.

The request that fails does have the actual error message that is a bit more readable:

Image

Expected behavior: The error message from the request should be shown in red.
Alternatively: Don't allow editing of any of the fields and neither allow submitting the form.

@tsteur tsteur added the Bug Something isn't working label Feb 25, 2025
@snake14 snake14 added this to the Backlog milestone Feb 25, 2025
@snake14
Copy link
Contributor

snake14 commented Feb 25, 2025

Thank you for creating this issue @tsteur . I like the idea of making sure that the form can only be edited/submitted when permissions allow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants