[PR #18544] [MERGED] FIX #18154 - Cannot change default table preferences for anonymous users #15372

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18544
Author: @renatoalmeidaoliveira
Created: 1/30/2025
Status: Merged
Merged: 1/31/2025
Merged by: @bctiemann

Base: mainHead: 18154-make-BaseTable-aware-default_user_preferences-annon-users


📝 Commits (4)

  • 22af6dd Add default user preferences tables testing in BaseTable
  • 62148bb Check if DEFAULT_USER_PREFERENCES are configured
  • f5bdf7b Simplify Anon user logic
  • 7d60897 remove extra line

📊 Changes

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

View changed files

📝 netbox/netbox/tables/tables.py (+3 -0)

📄 Description

Fixes: #18154

  • Change BaseTable to check if DEFAULT_USER_PREFERENCES are defined
  • Change BaseTable selected_columns behaivour to be aware of DEFAULT_USER_PREFERENCES table configuration

🔄 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/18544 **Author:** [@renatoalmeidaoliveira](https://github.com/renatoalmeidaoliveira) **Created:** 1/30/2025 **Status:** ✅ Merged **Merged:** 1/31/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `18154-make-BaseTable-aware-default_user_preferences-annon-users` --- ### 📝 Commits (4) - [`22af6dd`](https://github.com/netbox-community/netbox/commit/22af6dd05fc0d05bb01b0756a2aaab6327885ae9) Add default user preferences tables testing in BaseTable - [`62148bb`](https://github.com/netbox-community/netbox/commit/62148bb83c5aa2dabdc3617d88759b7ea6ddc2c6) Check if DEFAULT_USER_PREFERENCES are configured - [`f5bdf7b`](https://github.com/netbox-community/netbox/commit/f5bdf7b593da5c35b6686f241fb72976471272fd) Simplify Anon user logic - [`7d60897`](https://github.com/netbox-community/netbox/commit/7d6089775e0982d6830acb1a5b535c508f8eece1) remove extra line ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/tables/tables.py` (+3 -0) </details> ### 📄 Description ### Fixes: #18154 * Change BaseTable to check if DEFAULT_USER_PREFERENCES are defined * Change BaseTable selected_columns behaivour to be aware of DEFAULT_USER_PREFERENCES table configuration --- <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:21:33 +01:00
adam closed this issue 2025-12-30 00:21:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15372