Skip to content

Move "limit unsuccessful logins" settings to core#7645

Open
labkey-adam wants to merge 10 commits intodevelopfrom
fb_move_limit_logins
Open

Move "limit unsuccessful logins" settings to core#7645
labkey-adam wants to merge 10 commits intodevelopfrom
fb_move_limit_logins

Conversation

@labkey-adam
Copy link
Copy Markdown
Contributor

@labkey-adam labkey-adam commented May 5, 2026

Rationale

Some IT security teams think this is a very important setting to have. https://github.com/LabKey/internal-issues/issues/907

Related Pull Request

@labkey-adam labkey-adam requested a review from labkey-nicka May 6, 2026 22:18
Copy link
Copy Markdown
Contributor

@labkey-nicka labkey-nicka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Couple comments and I sent you a patch for client-side changes/feedback.

User user = context.getUpgradeUser();

// TODO: change saveAuthSetting() visibility back to private after deleting this upgrade code
if (enabledVal != null)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these mutations be transacted together?

@@ -0,0 +1,2 @@
-- Migrate login attempt settings from the compliance module's property store to core authentication settings.
SELECT core.executeJavaUpgradeCode('migrateLoginAttemptSettings');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we consider an upgrade test?

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