ita-social-projects / OoS-Backend

Out of School: The platform for choosing an extracurricular activity for your children
MIT License
13 stars 6 forks source link

Admin blocks/unblocks a service provider #865

Open Lena1708 opened 2 years ago

Lena1708 commented 2 years ago

As a user( tech admin / ministry admin / region admin) I want to block/unblock a service provider so that to manage a service provider.

Description

Role user (tech admin)

Precondition Service provider is created

Acceptance Criteria

SCENARIO #1 Admin blocks a service provider

GIVEN Tech-admin opens the cabinet AND clicks the tab “Адміністрування" admin opens a tab administration

AND opens the tab "Заклади" 22222

AND clicks a "tree dots button" on the right provider 33333

AND clicks "Заблокувати" 111111

AND a pop-up window displays blocking message

AND types a reason of blocking WHEN clicks "Надіслати" THEN a service provider is "Заблоковано" 44444

AND a service provider logs in AND receives the message from admin about that his account is blocked sv receives a message

AND a service providers' workshops are not visible for the search while he is blocked. AND a service providers' workshops' directors and administrators are also blocked while he is blocked. AND users can't send an application request for the workshops while a service provider is blocked.

SCENARIO #2 Admin unblocks a service provider

GIVEN Tech-admin opens the cabinet AND clicks the tab “Адміністрування" admin opens a tab administration

AND opens the tab "Заклади" 55555

AND clicks a "tree dots button" on the right provider WHEN clicks "Розблокувати" 66666

THEN a service providers' status is "Підтверджено" 77777

AND a service provider has access to all features of his account

Epic link E.g.: Epic #100 Epic

Labels to be added "User story"

Tasks

    • [ ] sample task.
valerabad commented 1 year ago

DONE:

TODO: