Skip to content

refactor: migrate 10 more flags off FEATURES-as-dict (batch 8)#38905

Open
feanil wants to merge 10 commits into
masterfrom
feanil/features-dict-batch-8
Open

refactor: migrate 10 more flags off FEATURES-as-dict (batch 8)#38905
feanil wants to merge 10 commits into
masterfrom
feanil/features-dict-batch-8

Conversation

@feanil

@feanil feanil commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrates 10 more feature flags off settings.FEATURES['X'] dict-style access onto flat settings (settings.X) with @override_settings(X=Y) in tests. Follows the pattern established in #38772.

Each commit migrates a single flag:

  • ENABLE_NOTICES
  • RESTRICT_AUTOMATIC_AUTH
  • PREVENT_CONCURRENT_LOGINS
  • SKIP_EMAIL_VALIDATION
  • REROUTE_ACTIVATION_EMAIL
  • DISABLE_ALLOWED_ENROLLMENT_IF_ENROLLMENT_CLOSED
  • HIDE_DASHBOARD_COURSES_UNTIL_ACTIVATED
  • ENABLE_DEBUG_RUN_PYTHON
  • ENABLE_XBLOCK_VIEW_ENDPOINT
  • ENABLE_ORGANIZATION_STAFF_ACCESS_FOR_CONTENT_LIBRARIES

@feanil
feanil force-pushed the feanil/features-dict-batch-8 branch from 089a3b7 to bcc2540 Compare July 20, 2026 15:22
@feanil
feanil marked this pull request as ready for review July 20, 2026 15:26
@feanil
feanil requested a review from a team as a code owner July 20, 2026 15:26
@feanil
feanil requested a review from kdmccormick July 20, 2026 15:26
@feanil
feanil force-pushed the feanil/features-dict-batch-8 branch from bcc2540 to c811035 Compare July 20, 2026 16:36
@feanil
feanil force-pushed the feanil/features-dict-batch-8 branch from c811035 to e398781 Compare July 20, 2026 18:18
@feanil
feanil force-pushed the feanil/features-dict-batch-8 branch from e398781 to 8112f35 Compare July 21, 2026 20:02
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.

1 participant