Skip to content

AMM-118: Expose account lock state in SearchEmployee4#129

Merged
vanitha1822 merged 1 commit intoPSMRI:release-3.6.2from
varundeepsaini:AMM-118-time-based-account-lockout
Apr 15, 2026
Merged

AMM-118: Expose account lock state in SearchEmployee4#129
vanitha1822 merged 1 commit intoPSMRI:release-3.6.2from
varundeepsaini:AMM-118-time-based-account-lockout

Conversation

@varundeepsaini
Copy link
Copy Markdown
Contributor

Part of PSMRI/AMRIT#118

Description

Extends m/SearchEmployee4 so Employee Master receives account lock state for every row when the list loads.

Changes

  • add failed-attempt lock metadata to the employee list response
  • include failedAttempt, lockTimestamp, and lockedDueToFailedAttempts
  • batch-load user lock metadata to avoid one query per listed user
  • keep admin deactivation separate from failed-attempt lock state

Why this shape was required

  • review comments on the UI PR required lock/unlock status to come from SearchEmployee4
  • the UI needs this data on initial load to render the correct Lock/Unlock control for each user

@varundeepsaini varundeepsaini force-pushed the AMM-118-time-based-account-lockout branch from 25494e0 to e023b71 Compare April 15, 2026 12:40
@sonarqubecloud
Copy link
Copy Markdown

@vanitha1822 vanitha1822 merged commit 09b4650 into PSMRI:release-3.6.2 Apr 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants