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

Inform user about insufficient permissions during sample/measurement creation/update #1010

Open
1 task done
Steffengreiner opened this issue Feb 10, 2025 · 0 comments
Open
1 task done
Labels
enhancement New feature or request fix medium prio tasks that require intermediate attention simple Implementation effort triage An issue that is in discussion to be either scheduled for implepmentation or denied

Comments

@Steffengreiner
Copy link
Contributor

What are you missing?

Currently a user with read permissions is not adequately informed if she tries to create/edit samples or measurements within an experiment.
Below you can see that sometimes the user receives a generic access denied exception and in other cases only a small toast notification is shown that the file upload has failed.

Image

Image

Image

Image

Why do you need a solution?

The small toast notification are easily missable and the user does not know why the creation/update has failed. Additionally, a generic access denied exception is not helpful since the user does not know what to do

Ideas

It would be nicer if a user is informed directly with a call to action about insufficient permissions similiar to how it is done during an experiment design update:

Image

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Steffengreiner Steffengreiner added enhancement New feature or request triage An issue that is in discussion to be either scheduled for implepmentation or denied labels Feb 10, 2025
@Steffengreiner Steffengreiner moved this to In Progress in Issue triage Feb 10, 2025
@Steffengreiner Steffengreiner added simple Implementation effort fix medium prio tasks that require intermediate attention labels Feb 10, 2025
@Steffengreiner Steffengreiner moved this from In Progress to Approve in Issue triage Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix medium prio tasks that require intermediate attention simple Implementation effort triage An issue that is in discussion to be either scheduled for implepmentation or denied
Projects
Status: Approve
Status: Todo
Development

No branches or pull requests

3 participants