Skip to content

Hide sensitive_parameters from datasource view even for high privil… #18026

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

Merged

Conversation

mskalecki
Copy link
Contributor

…ege users

Fixes: #18007

This PR hides sensitive_parameters in the Data Source view's Backend Panel, even for users with sufficient permissions to set that field.

My preference would be to also hide sensitive fields in the edit form, but I don't think that is done anywhere else in NetBox, and I'm not in a position to make that design choice.

@mskalecki
Copy link
Contributor Author

This is just a partial solution to the problem. Ideally, the sensitive_parameters should never be sent to the client at all.

@jeremystretch jeremystretch merged commit eb645ee into netbox-community:develop Nov 20, 2024
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove or hide password in Data Source UI
2 participants