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

[Change request to #4617] Clarification of employee permissions and the ability to edit employee permissions #5538

Open
Iryna1972 opened this issue Mar 27, 2023 · 0 comments

Comments

@Iryna1972
Copy link

Iryna1972 commented Mar 27, 2023

Description of a Change request:
Clarification for permission and ability to set permissions for each role in the system.

Reason for Change:
Improvement of current requirements after PO review in case of management and editing employee permissions.

Precondition:
It is applicable only for a Super Admin/admin role.

Acceptance Criteria:

  1. Each employee card should have a button “Set permissions” (Налаштувати права). Also, Super Admin/admin should be able to set permission by this way Action button (three dots) on the employee card ->the “Set permissions” item.
  2. Super Admin can edit employee permissions for all employees.
  3. Admin can edit employee permissions in employee cards within the assigned tariff to him/her.
  4. Super Admin/Admin should be able to edit employee’s permissions by clicking on “Set permissions” (Налаштувати права).
    a. after clicking the “Set permissions” button the pop-up window with the title “Set employee permissions” (“Налаштувати права працівника”) should appear.
    4.1. Super Admin/Admin should be able to collapse (Close one on mockup) or expand (Open one on mockup) the employee edit permissions page by clicking on each title of Close view.
    4.2. Once the Super Admin/admin taps on “Customers” (Клієнти) in the pop-up window the checkbox with the following options appears:
    4.2.1. See the main page “Customers”/Бачити основну сторінку “Клієнти”.
    4.3. Once the Super Admin/admin taps on “Employees” (Працівники) the checkbox with the following options appears:
    4.3.1. See the main page “Employees”/Бачити основну сторінку “Працівники”.
    4.3.2. Create a new employee card/Створювати нову картку працівника.
    4.3.3. Edit an employee card/Редагувати картку працівника.
    4.3.4. Delete an employee card/Видаляти картку працівника.
    4.3.5. Edit an employee's authorities/Редагувати повноваження працівника.
    4.4. Once the Super Admin/admin taps on “Certificates” (Сертифікати) the checkbox with the following options appears:
    4.4.1. See the main page “Certificates”/Бачити основну сторінку “Сертифікати”.
    4.4.2. Create a new certificate/Створювати новий сертифікат.
    4.4.3. Edit a certificate/Редагувати сертифікат.
    4.5. Once the Super Admin/admin taps on “Orders” (Замовлення) the checkbox with the following options appears:
    4.5.1. See an order card/Бачити картку замовлення.
    4.5.2. Edit an order card/Редагувати картку замовлення.
    4.6. Once the Super Admin/admin taps on “ Notification ” (Повідомлення) the checkbox with the following options appears:
    4.6.1. See the main page “Notifications”/Бачити основну сторінку “Повідомлення”.
    4.6.2. Create a new notification card/Створювати нову картку повідомлення.
    4.6.3. Edit a notification card/Редагувати картку повідомлення.
    4.6.4. Delete a notification card/Видаляти картку повідомлення.
    4.7. Once the Super Admin/admin taps on “Tariffs” (Тарифи) the checkbox with the following options appears:
    4.7.1. See the main page “Tariffs”/Бачити основну сторінку “Тарифи”.
    4.7.2. Create a location/Створювати локацію.
    4.7.3. Create a courier/Створювати кур’єра.
    4.7.4. Create a receiving station/Створювати станцію приймання.
    4.7.5. Edit the location name/Редагувати назву локації.
    4.7.6. Edit the courier name/Редагувати ім’я кур’єра.
    4.7.7. Edit the receiving station name/Редагувати назву станції приймання.
    4.7.8. Create a location card/Створювати картку локації.
    4.7.9. Edit/Delete the location card/Редагувати/Видаляти картку локації.
    4.7.10. See the pricing card/Бачити картку ціни.
    4.7.11 Edit/Delete the pricing card/Редагувати/Видаляти картку ціни.
    4.7.12. Deactivate the pricing card/Деактивувати картку ціни.
    4.7.13. Add/Edit/Delete a service/Додавати/Редагувати/Видаляти послугу.
  5. There should be 2 buttons in the pop-up window with the title “Set employee permissions” (“Налаштувати права працівника”) at the bottom: “Cancel” (Скасувати) and “Save” (Зберегти).
  6. The "Save" button should be disabled by default. If Super Admin/admin checks on/checks off checkboxes (provides the changes in this way) the "Save" button should be enabled.
    When Super Admin/admin clicks on the “Save” button the system shows the alert:
    En “Your changes have been saved”
    UA "Внесені зміни збережено"
    and Super Admin/admin should be redirected to the employee page.
  7. The "Cancel" button should be enabled by default.
    When Super Admin/admin clicks on the “Cancel” button pop-up window with the warning message appears:
    En: “If you cancel the changes, they will be deleted. Are you sure you want to cancel the changes?”, with buttons “No”, and “Yes”.
    Ua: “У разі скасування внесені зміни будуть втрачені. Чи дійсно Ви бажаєте скасувати зміни?”, with buttons “Ні”, “Так”.
  • If Super Admin/admin clicks on the button “Yes”/"Так" the system should redirect Super Admin/admin to the employee page.
  • If Super Admin/admin clicks on the button “No”/"Ні" the system closes the current pop-up window with the warning message and Super Admin/admin should stay on the “Set employee permissions” pop-up window with changes which he/she provides. The "Save" and "Cancel" buttons should be enabled.
  1. System should display the following employee permissions by default:
Permissions Супер адмін Адмін Менеджер послуги Менеджер обдзвону Логіст Штурман Водій
See the main page of the “Client”
See the main page of the “Employee”
Create a new employee card
Edit an employee card
Deactivate an employee
Edit an employee`s authorities
See the main page of “Certificates”
Create a new certificate
Edit a certificate
See an order card
Edit an order card
See the main page “Notifications”
Create a new notification card
Edit a notification card
Deactivate a notification card
See the main page “Tariffs”
Create a Region
Create a City *✔
Edit a City *✔
Create a courier
Create a receiving station
Edit the location name
Edit the courier name
Edit the receiving station name
Create a pricing card
See the pricing card
Edit/Deactivate the pricing card
Add/Edit/Deactivate a service
* - this permission is only for available tariffs

Impact of Change:
#4617

Epic:
UBS courier #2195
9. Feature: Employee [Admin cabinet]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Sprint Backlog
Development

No branches or pull requests

3 participants