Skip to content

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

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

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

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