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

[Tariffs] Employee without permission can edit a location card #6102

Closed
DanaIuich opened this issue Jul 25, 2023 · 1 comment
Closed

[Tariffs] Employee without permission can edit a location card #6102

DanaIuich opened this issue Jul 25, 2023 · 1 comment

Comments

@DanaIuich
Copy link

Environment: all
Reproducible: always
**Build found:**25/07/2023

Preconditions

  1. User should be on position which doesn't have permission to edit a location card (e.x. navigator)
  2. User should be logged
  3. Go to https://www.greencity.social/#/ubs-admin/tariffs

Steps to reproduce

  1. Select region in dropdown list in the top of page (e.x. Kharkiv region)
  2. Select location card and on location card press 3 dots and click on "Edit"
  3. In pop-up window "Edit card" change Courier, add Receiving station, add city
  4. Press "Edit" button
  5. Overload the page, select region and verify the result

Actual result
Employee without permission can edit a location card

Expected result
The button "Edit" in dropdown list must be desibled

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

employee_without_permission_can_edit_location_card.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