[PR #12743] [CLOSED] 12625 hide datasource password #14042

Closed
opened 2025-12-29 23:22:12 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12743
Author: @aroth01
Created: 5/26/2023
Status: Closed

Base: developHead: 12625-hide-datasource-password


📝 Commits (2)

  • b92a4dc 12625: change datasource password display and hide for read-only users
  • 49a4039 add password hidden msg

📊 Changes

1 file changed (+13 additions, -1 deletions)

View changed files

📝 netbox/templates/core/datasource.html (+13 -1)

📄 Description

Fixes: #12625

Change datasource.html to hide password until the "show secret" button is clicked. I have the permissions to view set for update/change/add instead of view. As if a user doesn't have view for core/datasource, they wouldn't be able to see the page anyways. Unless I'm misunderstanding something.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/12743 **Author:** [@aroth01](https://github.com/aroth01) **Created:** 5/26/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `12625-hide-datasource-password` --- ### 📝 Commits (2) - [`b92a4dc`](https://github.com/netbox-community/netbox/commit/b92a4dc450723d9b6e0ea4ad613d1025709a9ab3) 12625: change datasource password display and hide for read-only users - [`49a4039`](https://github.com/netbox-community/netbox/commit/49a40397efc80a78a0f54018dbd95d630f4fddaf) add password hidden msg ### 📊 Changes **1 file changed** (+13 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/core/datasource.html` (+13 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #12625 Change datasource.html to hide password until the "show secret" button is clicked. I have the permissions to view set for update/change/add instead of view. As if a user doesn't have view for core/datasource, they wouldn't be able to see the page anyways. Unless I'm misunderstanding something. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:22:12 +01:00
adam closed this issue 2025-12-29 23:22:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14042