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

Hide sensitive values from extra in connection edit form #32309

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jul 2, 2023

The fields that are sensitive (i.e password field is used to show them in Connection edit view) should also be hidden when they are stored as "extra" in the form extra field.

This PR handles both - replacing such values with a placeholder as well as not updating the value if the placeholder has not been modified.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Jul 2, 2023
@potiuk potiuk requested a review from pankajkoti July 2, 2023 01:17
@potiuk potiuk force-pushed the draft-connection-sensitive branch from 34ebc62 to 7d89461 Compare July 2, 2023 01:20
@potiuk potiuk added this to the Airlfow 2.6.3 milestone Jul 2, 2023
@potiuk potiuk force-pushed the draft-connection-sensitive branch 2 times, most recently from 9330ba0 to c80894c Compare July 2, 2023 06:48
@pankajkoti pankajkoti requested a review from o-nikolas July 2, 2023 07:25
@potiuk potiuk force-pushed the draft-connection-sensitive branch from c80894c to 6cc1cec Compare July 3, 2023 13:40
@potiuk potiuk force-pushed the draft-connection-sensitive branch 2 times, most recently from 8b66185 to 9aad051 Compare July 4, 2023 20:42
The fields that are sensitive (i.e password field is used
to show them in Connection edit view) should also be hidden
when they are stored as "extra" in the form extra field.

This PR handles both - replacing such values with a
placeholder as well as not updating the value if the
placeholder has not been modified.
@potiuk potiuk force-pushed the draft-connection-sensitive branch from 9aad051 to 3b105b3 Compare July 5, 2023 07:33
@potiuk
Copy link
Member Author

potiuk commented Jul 5, 2023

Should be ready!

@potiuk potiuk merged commit d012483 into apache:main Jul 5, 2023
42 checks passed
@potiuk potiuk deleted the draft-connection-sensitive branch July 5, 2023 19:39
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Jul 6, 2023
ephraimbuddy pushed a commit that referenced this pull request Jul 6, 2023
The fields that are sensitive (i.e password field is used
to show them in Connection edit view) should also be hidden
when they are stored as "extra" in the form extra field.

This PR handles both - replacing such values with a
placeholder as well as not updating the value if the
placeholder has not been modified.

(cherry picked from commit d012483)
@slavanorm slavanorm mentioned this pull request Sep 18, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants