Project

General

Profile

Development #7132

Updated by Kyle Chong 3 months ago

Implement the initial login flow using the standard keyboard input. 

 The cashier should be able to enter: 

 Refer to: User ID / Username 
 Password 

 The system must: 

 * Authenticate against locally available user credentials. 
 * Support Login & Authentication (M01) (docs/planning/modules/M01_Login_Auth.md). Build offline authentication without depending on the Backend being online. 
 * Validate whether the user account is active. 
 * Validate user permissions/roles. 
 * Apply failed-login attempt handling and account login, permissions, lockout rules. 
 * Record successful and failed login attempts. 
 * Record the terminal/device where the login occurred. 
 * Create the appropriate local cashier/user session after successful authentication. 

 This phase will establish the common authentication service that the other login methods will reuse. terminal-session audit in both Cashier projects. Done when authorised users can work offline and restricted actions are blocked and logged.

Back