Skip to content

Cannot change default table preferences for anonymous users #18154

@scnlewisk

Description

@scnlewisk

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.1.7

Python Version

3.10

Steps to Reproduce

Same issue as #13312

Edit configuration.yaml to edit default user preferences table columns for IPAM>IPAddresses

DEFAULT_USER_PREFERENCES = {
'tables': {
'IPAddressTable': {
'columns': ['address', 'status', 'dns_name', 'description', 'cf_Used_for_Egress', ]
},
},
}

image

Note: does not need custom field to cause issue.

Open Netbox as anonymous/unauthenticated user (private browsing), and navigate to IPAM>IP Addresses
The table columns do not match the default user preferences.

Expected Behavior

The IP Address table columns for guests should match what is set in the default user preferences.

Observed Behavior

When logging in as an anonymous/unauthenticated user, the table columns are different than what is set under default user preferences.

image

This is an issue because guests do not have the option to adjust table columns, so they cannot see any non-default table fields without opening each IP address.

Note: for authenticated, if you reset table column preferences, then it will change to the preferences set under the default user preferences.

Metadata

Metadata

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions