Skip to content

refactor: Remove HIBP settings from CMS - #36998

Merged
awais786 merged 6 commits into
openedx:masterfrom
mubbsharanwar:mubbsharanwar/issue-36992
Jul 31, 2025
Merged

awais786 merged 6 commits into
openedx:masterfrom
mubbsharanwar:mubbsharanwar/issue-36992

Conversation

@mubbsharanwar

@mubbsharanwar mubbsharanwar commented Jul 8, 2025 •

Copy link
Copy Markdown
Contributor

Description

The following HIBP related settings are only used in the LMS, but need to be imported into the CMS settings for the unit tests to work:

ENABLE_AUTHN_LOGIN_BLOCK_HIBP_POLICY
ENABLE_AUTHN_LOGIN_NUDGE_HIBP_POLICY
ENABLE_AUTHN_REGISTER_HIBP_POLICY
ENABLE_AUTHN_RESET_PASSWORD_HIBP_POLICY
HIBP_LOGIN_BLOCK_PASSWORD_FREQUENCY_THRESHOLD
HIBP_LOGIN_NUDGE_PASSWORD_FREQUENCY_THRESHOLD
HIBP_REGISTRATION_PASSWORD_FREQUENCY_THRESHOLD

Removed HIBP settings from the CMS common settings module and override the test settings that need to use these settings.

36992

@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch 3 times, most recently from 5325eff to 8792e7b Compare July 9, 2025 11:47
@mubbsharanwar
mubbsharanwar requested review from a team as code owners July 9, 2025 11:47
@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch 10 times, most recently from 0a4a271 to 5c5f802 Compare July 15, 2025 12:30
@mubbsharanwar

Copy link
Copy Markdown
Contributor Author

@openedx-bot sandbox please

@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch from 5c5f802 to 9309f1a Compare July 16, 2025 10:33
@awais786 awais786 added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Jul 16, 2025
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch from 9309f1a to 24248fa Compare July 18, 2025 13:17
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@awais786

Copy link
Copy Markdown
Contributor

@wgu-taylor-payne please review this pr.

@wgu-taylor-payne wgu-taylor-payne left a comment

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.

Thanks for this PR. Overriding the settings seems like a straightforward solution to this. Looks good to me!

@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch from 24248fa to 3c804be Compare July 21, 2025 06:35
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch from 3c804be to f90af42 Compare July 21, 2025 12:56
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch from f90af42 to 3b8c413 Compare July 22, 2025 09:58
@mubbsharanwar

Copy link
Copy Markdown
Contributor Author

Hi @timmc-edx, Could you please review this PR

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch from 934ef7e to 60a47f6 Compare July 24, 2025 11:44
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch from 60a47f6 to d58be02 Compare July 28, 2025 08:14
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

Remove HIBP settings from CMS common settings module

36992
@mubbsharanwar
mubbsharanwar force-pushed the mubbsharanwar/issue-36992 branch from d58be02 to 93721cb Compare July 28, 2025 11:28
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@awais786
awais786 merged commit 6d150ac into openedx:master Jul 31, 2025
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

sumair-arbisoft pushed a commit to sumair-arbisoft/edx-platform that referenced this pull request Aug 5, 2025
Remove HIBP settings from CMS common settings module
salman2013 pushed a commit to salman2013/edx-platform that referenced this pull request Sep 10, 2025
Remove HIBP settings from CMS common settings module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-sandbox open-craft-grove should create a sandbox environment from this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants