Skip to content

feat: replace enterprise_support import with AccountSettingsReadOnlyFieldsRequested filter#38098

Draft
pwnage101 wants to merge 3 commits intomasterfrom
pwnage101/ENT-11510
Draft

feat: replace enterprise_support import with AccountSettingsReadOnlyFieldsRequested filter#38098
pwnage101 wants to merge 3 commits intomasterfrom
pwnage101/ENT-11510

Conversation

@pwnage101
Copy link
Contributor

@pwnage101 pwnage101 commented Mar 4, 2026

Removes the direct import of get_enterprise_readonly_account_fields from openedx.features.enterprise_support.utils in accounts/api.py and replaces it with a call to the AccountSettingsReadOnlyFieldsRequested openedx-filter. Adds the filter to OPEN_EDX_FILTERS_CONFIG. Updates tests to mock the filter instead of the old enterprise_support imports.

ENT-11510

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com


Blocked by:

…ieldsRequested filter

Removes the direct import of get_enterprise_readonly_account_fields from
openedx.features.enterprise_support.utils in accounts/api.py and replaces it
with a call to the AccountSettingsReadOnlyFieldsRequested openedx-filter.
Adds the filter to OPEN_EDX_FILTERS_CONFIG. Updates tests to mock the filter
instead of the old enterprise_support imports.

ENT-11510

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pwnage101 pwnage101 added the enterprise An enterprise-related change label Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enterprise An enterprise-related change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants