Actions
Development #7438
openFeature #7131: User Login & Authentication (M01)
Shift Management Integration
Status:
New
Assignee:
Start date:
Due date:
% Done:
0%
Estimated time:
Complete Date:
Description
Login must be cross-checked with the Shift Management module.
Authentication and shift management should remain separate responsibilities:
After a successful login, POS+ should verify the user's shift status.
The required behaviour should cover scenarios such as:
- User authenticated but has no active shift.
- User has an active shift on the current terminal.
- User already has an active shift on another terminal.
- Previous shift/session was not properly closed.
- User logs out while a shift is still active.
- Application/PC restarts while a cashier shift is active.
- Supervisor/manager login for restricted operations without replacing the current cashier session.
The Login module should expose the authenticated user/session information required by Shift Management rather than duplicating shift logic inside the Login module.
Actions