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 “Адміністрування"
AND opens the tab "Заклади"
AND clicks a "tree dots button" on the right provider
AND clicks "Заблокувати"
AND a pop-up window displays
AND types a reason of blocking
WHEN clicks "Надіслати"
THEN a service provider is "Заблоковано"
AND a service provider logs in
AND receives the message from admin about that his account is blocked
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 “Адміністрування"
AND opens the tab "Заклади"
AND clicks a "tree dots button" on the right provider
WHEN clicks "Розблокувати"
THEN a service providers' status is "Підтверджено"
AND a service provider has access to all features of his account
AND a service providers' workshops are not visible for the search while he is blocked.
AND users can't send an application request for the workshops while a service provider is blocked.
TODO:
AND a service providers' workshops' directors and administrators are also blocked while he is blocked.
(discussed in a backend team - waiting for changes related to IdetityServer)
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 “Адміністрування"
AND opens the tab "Заклади"
AND clicks a "tree dots button" on the right provider
AND clicks "Заблокувати"
AND a pop-up window displays
AND types a reason of blocking WHEN clicks "Надіслати" THEN a service provider is "Заблоковано"
AND a service provider logs in AND receives the message from admin about that his account is blocked
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 “Адміністрування"
AND opens the tab "Заклади"
AND clicks a "tree dots button" on the right provider WHEN clicks "Розблокувати"
THEN a service providers' status is "Підтверджено"
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