Skip to content

feat: replace enterprise_support import with AccountSettingsReadOnlyFieldsRequested filter#38098

Draft
pwnage101 wants to merge 1 commit intomasterfrom
pwnage101/ENT-11510
Draft

feat: replace enterprise_support import with AccountSettingsReadOnlyFieldsRequested filter#38098
pwnage101 wants to merge 1 commit 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>
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