Actions
Development #7150
openFeature #7148: End of Shift / Terminal Shift Management (M11)
Validate shift after user login
Status:
New
Assignee:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Complete Date:
Description
Refer to:
- docs/planning/modules/M11_End_Of_Shift.md
- docs/planning/modules/M01_Login_Auth.md
Integrate M11 with the POS+ login flow.
Scope:
- After successful M01 authentication, check the user's current shift status.
- Detect active shift on the current terminal.
- Detect active shift belonging to another terminal where applicable.
- Detect stale/unclosed previous shift.
- Determine whether the current user may open a new shift.
- Route user to Shift Opening when a cashier has no active shift.
- Allow authorised non-sales functions without forcing every user to open a cashier shift.
- Do not duplicate authentication logic inside M11.
Important behaviour:
Login Success + Active Shift โ Enter POS Sales
Login Success + No Active Shift โ Sales Blocked โ Open Shift / Allowed Non-Sales Functions
Done when: Every authenticated POS user has a clearly resolved shift state before entering normal cashier operations.
Actions