Display an "Action not allowed" message instead of 404 page not found for certain actions in a list view #10089

Open
opened 2025-12-29 21:26:44 +01:00 by adam · 0 comments
Owner

Originally created by @sysdagenaim on GitHub (Aug 13, 2024).

NetBox version

v3.7.6

Feature type

Change to existing functionality

Proposed functionality

In a list view, when a user does not have the same permissions on all the objects displayed in the list, the disallowed actions return 404 page not found. We had previously requested adapted buttons for each line but this would have induce a huge performance penalty. Just changing the error message could be much simpler.

Use case

Returning an "action not allowed" message is much more elegant than 404 page not found.
image

Database changes

No response

External dependencies

No response

Originally created by @sysdagenaim on GitHub (Aug 13, 2024). ### NetBox version v3.7.6 ### Feature type Change to existing functionality ### Proposed functionality In a list view, when a user does not have the same permissions on all the objects displayed in the list, the disallowed actions return 404 page not found. We had previously requested adapted buttons for each line but this would have induce a huge performance penalty. Just changing the error message could be much simpler. ### Use case Returning an "action not allowed" message is much more elegant than 404 page not found. ![image](https://github.com/user-attachments/assets/434cd135-fbe4-44b1-89b1-64a63b8029f3) ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurecomplexity: mediumnetboxstatus: backlog labels 2025-12-29 21:26:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10089