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

[Employee cabinet] An error 403 appears when Employee goes to a page for which he does not have permission #6086

Closed
DanaIuich opened this issue Jul 23, 2023 · 0 comments

Comments

@DanaIuich
Copy link

DanaIuich commented Jul 23, 2023

Environment: All
Reproducible: always
**Build found:**23/07/2023

Preconditions

  1. User should be on position which doesn't have permissions (e.x. driver)
  2. User should be logged
  3. Go to https://www.greencity.social/#/ubs-admin/orders

Steps to reproduce

  1. Go to tab "Orders"
  2. Go to tab "Customers"
  3. Go to tab "Sertificates"
  4. Go to tab "Employees"
  5. Go to tab "Tariffs"

Actual result
On pages where employee doesn't have permissions an error 403 appears, spinner is displayed

Expected result
On pages where employee doesn't have permissions the message "You don't have permission to view this page" appears

User story and test case links
E.g.: #5538

actual.result_403_response.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants