-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
bugSomething isn't workingSomething isn't workingdashboardPart of CISO/OSPO experience to access UIPart of CISO/OSPO experience to access UItech-debt
Description
Describe the bug
The admin UI has poor error messaging when the user is not logged in, in some cases. For example, a reviewer attempting to approve or reject a push is told 'You are not authorized to approve/reject" rather than being told they are not logged in or redirected to the login form.
Similarly an a committer attempting to cancel a commit is told 'You are not authorized to cancel" rather than being told they are not logged in or redirected to the login form.
To Reproduce
Steps to reproduce the behavior:
- Attempt to reject, approve or cancel a push when not logged in.
Expected behavior
An accurate error message is reports OR (better) the user is redirected to the login form.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdashboardPart of CISO/OSPO experience to access UIPart of CISO/OSPO experience to access UItech-debt