-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Datasource passwords are displayed in plaintext #12625
Comments
What is the proposed "fix?" |
Similar to the Wireless LAN Authentication Attributes ( https://github.com/netbox-community/netbox/blob/develop/netbox/templates/wireless/inc/authentication_attrs.html ) the field could be hidden. Having secrets/passwords displayed without hiding them is also problematic for demo / screen share / audit scenarios. Having the Show Secret button only available for write permissions would solve our permission problem. |
i can try to take a shot at this one. i'm a bit new to contributing though. Could do a change to the password field to display only for users that have add/update/delete permissions. Then hide it for those users and display it when the show secret button is pressed. Users that don't have those permissions wouldn't be able to see the password. |
Reclassifying this as a feature request, as the described behavior was never part of the original implementation. |
I do not think this implementation is working. I upgraded on my setup and saw password is still shown in the UI for data sources. Repeatable example: https://demo.netbox.dev/core/data-sources/1/ |
NetBox version
v3.5.1
Python version
3.8
Steps to Reproduce
core/data-sources/<ID>/
Expected Behavior
Password should be hidden.
Observed Behavior
Password is displayed as plaintext for all users with access to datasources.
The text was updated successfully, but these errors were encountered: