Switch the user by using pin code
1. Use case name
Switch the user by using pin code
2. Keywords
Switch the user by using pin code, Assign the staff code
3. Actors + description
As a cashier, in the store, I can be in charge of multi-tasks, and in the peak season of the store, I want to have an option of quickly log out & log in to the other staff account by a 4 digit Pincode
4. Pre-conditions
Install POS
Assign the store role & create a PIN of the staff
5. Main flow
The most common path of interactions between the user & the system:
Step 1: Assign the store role & set a Pincode for the staff
Log-in Magento backend
Go to POS > Manage Staff
Rules:
At default, a new user is set as Manager
If the user selects Manager, the fields Password and Password Confirmation stay on the page
Manager can log in POS using username/password or 4-digit PIN
If the user selects Normal Staff, the fields Password and Password Confirmation are hidden
Normal Staff can only log in using a 4-digit PIN
Step 2: Login PIN as the staff
The PIN is saved and shown the next time opening Staff Edit Page
The PIN is a unique number and corresponds to each staff
Step 3: Switch the POS
Switching staff by 4-digit PIN is only available after the POS session is opened
As the user enters the Normal Staff's PIN code, the POS session is switched to Normal Staff's name
Only 1 staff can be active on 1 POS at a time
If a staff logged in to POS A, then POS B later on, POS A turns idle as the staff is kicked out
The manager is able to login to multiple devices and POS at the same time (login = username and password)
Only Manager's PIN code can be used to log out of the POS
The user is able to switch during checkout, the cart function is updated based on the user's permission as the user switches, for example:
User A checks out
User A is not able to add a cart discount
Proceed to the Payment screen, switch to User B
User B is able to add cart discount, cart discount is then applied to the checkout
If the Manager login with its 4-digit PIN to apply the discount, then the cashier logs back into finish the checkout, the check out commission still belongs to the cashier doing the check out → all the information recorded during check out steps are saved and kept even if staff is switched, example:
User A checks out
User A is not able to add a cart discount
Proceed to the Payment screen, switch to User B
User B is able to add cart discount, cart discount is then applied to the checkout
POS is switched back to User A
Cart discount is still applicable
Staff of this order is User A
8. Fit & Gap analysis (Keep internal)
Compare this use case with the current Magestore solution to identify 3 types: