Project

General

Profile

Actions

Development #7132

closed

Feature #7131: User Login & Authentication (M01)

Normal Login / Keyboard Login

Added by Kyle Chong 3 months ago. Updated 3 months ago.

Status:
Closed
Assignee:
Start date:
26/08/2026
Due date:
28/08/2026
% Done:

100%

Estimated time:
Complete Date:
28/08/2026

Description

Implement the initial login flow using the standard keyboard input.

The cashier should be able to enter:

User ID / Username
Password

The system must:

  • Authenticate against locally available user credentials.
  • Support 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 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.


Files

status 1.png (19.5 KB) status 1.png user status checking Chong Yit Ren, 01/09/2026 03:22 AM
status 2.png (67.7 KB) status 2.png Chong Yit Ren, 01/09/2026 03:22 AM
Screenshot 2026-09-01 110007.png (66.9 KB) Screenshot 2026-09-01 110007.png failed attempts checking Chong Yit Ren, 01/09/2026 03:23 AM
Screenshot 2026-09-01 105833.png (15 KB) Screenshot 2026-09-01 105833.png Chong Yit Ren, 01/09/2026 03:23 AM
status 1.png
status 2.png
Screenshot 2026-09-01 110007.png
Screenshot 2026-09-01 105833.png
Actions #1

Updated by Kyle Chong 3 months ago · Edited

  • Status set to New
  • Subject set to Build login and access screens
  • Tracker set to Development
  • Priority set to Medium
  • Parent task set to #7131
  • % Done set to 0

Issue created

Actions #2

Updated by Kyle Chong 3 months ago · Edited

  • Subject changed from Build login and access screens to Normal Login / Keyboard Login
Actions #3

Updated by Kyle Chong 3 months ago

  • Description updated (diff)
Actions #4

Updated by Chong Yit Ren 3 months ago

  • Assignee set to Chong Yit Ren
Actions #5

Updated by Chong Yit Ren 3 months ago

  • Start date set to 26/08/2026
Actions #6

Updated by Chong Yit Ren 3 months ago

  • Due date set to 28/08/2026
  • Status changed from New to Dev In Progress
Actions #7

Updated by Chong Yit Ren 3 months ago

  • % Done changed from 0 to 50

Updated by Chong Yit Ren 3 months ago · Edited

status 1.png
status 2.png
Screenshot 2026-09-01 110007.png
Screenshot 2026-09-01 105833.png

Done: username/password entry, offline local auth, active-account check (Status field), failed-attempt lockout (5 tries / 15 min), local session creation
Upgraded password check to Admin Panel's real hashing scheme (was a placeholder direct comparison)

Not done (due to blocker): permission/role checks (no IAM system exists), audit logging (no table exists), terminal/device recording (blocked on separate terminal-identity/scope work)

Actions

Also available in: Atom PDF