Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update allow list language [DHIS2-10247] #1294

Merged
merged 2 commits into from
Feb 14, 2024
Merged

Conversation

tomzemp
Copy link
Member

@tomzemp tomzemp commented Dec 15, 2023

See https://dhis2.atlassian.net/jira/software/c/projects/DHIS2/issues/DHIS2-10247

This PR updates the label for the corsAllowlist / corsWhitelist items:
image

Note that while the corsAllowlist now is available from api/configurations and an alias exists for POST to api/configurations/corsAllowist, I have not changed to use these updated api endpoints because unfortunately, this app uses logic that is in d2 to transform the corsWhitelist field to the appropriate payload (https://github.com/dhis2/d2/blob/master/src/system/SystemConfiguration.js#L78). I don't think it is worth updating the d2 dependency at the moment given that api/configuration/corsWhitelist is still maintained and given that we want to overhaul settings app anyway (at which point I assume we will get rid of the dependency to d2)

@tomzemp tomzemp requested review from a team and removed request for a team December 15, 2023 15:24
@dhis2-bot
Copy link
Contributor

dhis2-bot commented Dec 15, 2023

🚀 Deployed on https://pr-1294--dhis2-settings.netlify.app

@tomzemp tomzemp force-pushed the DHIS2-10247/allow-list branch from cd260b9 to f1fefc5 Compare December 15, 2023 15:26
@tomzemp tomzemp marked this pull request as ready for review February 14, 2024 10:16
@tomzemp tomzemp requested a review from a team February 14, 2024 10:19
@tomzemp tomzemp merged commit 2cc0f29 into master Feb 14, 2024
9 checks passed
@tomzemp tomzemp deleted the DHIS2-10247/allow-list branch February 14, 2024 11:22
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.

3 participants