ita-social-projects / EPlast

EPlast is a project to provide web-based multi-user system solutions for digitizing and automate the Plast organization. The system makes it easy to access Plast's internal data, such as events, reports, and documents, etc. Information and location of their affiliates and clubs throughout Ukraine.
MIT License
27 stars 11 forks source link

[City] Admin can add a user to the archived city while giving him/her a degree (ступінь) #2921

Closed NataliyaDominyuk closed 1 year ago

NataliyaDominyuk commented 2 years ago

Environment: Mac OS Monterey 12.6, Google Chrome version 105.0.5195.125 (Official Build) (arm64) Reproducible: always Build found: 828449b4c2535b2b0d7804c17898e91483c483ce Priority: high Severity: medium

Preconditions

  1. Make sure there is at least one archived city
  2. Sign up at https://eplast.westeurope.cloudapp.azure.com/signup as a new user without indicating city (click the checkbox "there is no plast in my city")

Steps to reproduce

  1.  Log in as admin
  2. Go to the left-side menu
  3. Click "Довідник" -> "Таблиця користувачів"
  4. Find the new registered user, which hasn't indicated the city in registration form and right-click "Додати до уладу"
  5. While adding a degree choose an archived city and confirm the form

Actual result Admin can add a user to the archived city while giving him/her a degree (ступінь)

Expected result User can't be added to the archived city

add to archived city

NataliyaDominyuk commented 1 year ago

Now we don't see archived cities. It was fixed. But another bug appeared. Now we have full list of active cities (not only from our region)

Screenshot 2022-11-08 at 11 57 10