[PR #18026] [MERGED] Hide sensitive_parameters from datasource view even for high privil… #15253

Closed
opened 2025-12-30 00:20:54 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18026
Author: @mskalecki
Created: 11/15/2024
Status: Merged
Merged: 11/20/2024
Merged by: @jeremystretch

Base: developHead: hide-sensitive_parameters


📝 Commits (1)

  • 6e2e8c7 Hide sensitive_parameters from datasource view even for high privilege users

📊 Changes

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

View changed files

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

📄 Description

…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.


🔄 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/18026 **Author:** [@mskalecki](https://github.com/mskalecki) **Created:** 11/15/2024 **Status:** ✅ Merged **Merged:** 11/20/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `hide-sensitive_parameters` --- ### 📝 Commits (1) - [`6e2e8c7`](https://github.com/netbox-community/netbox/commit/6e2e8c7e6c063d5cd52d5fb0f1cdd5857d1b1b07) Hide `sensitive_parameters` from datasource view even for high privilege users ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/core/datasource.html` (+1 -1) </details> ### 📄 Description …ege users <!-- 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: #18007 <!-- Please include a summary of the proposed changes below. --> 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. --- <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-30 00:20:54 +01:00
adam closed this issue 2025-12-30 00:20:54 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15253