Permissions are being created for proxy console/power/interface connection models #2155

Closed
opened 2025-12-29 17:22:46 +01:00 by adam · 3 comments
Owner

Originally created by @jeremystretch on GitHub (Nov 28, 2018).

Environment

  • Python version: 3.6.7
  • NetBox version: 2.5-beta2

Steps to Reproduce

  1. Apply database migrations for v2.5

Expected Behavior

There are three new proxy models used to represent console, power, and interface connections. These are only used to represent connections, and cannot be manipulated directly. Thus, only the view permission is needed for these models.

Observed Behavior

View, add, change, and delete permissions are created for each of the three proxy models.

Originally created by @jeremystretch on GitHub (Nov 28, 2018). ### Environment * Python version: 3.6.7 * NetBox version: 2.5-beta2 ### Steps to Reproduce 1. Apply database migrations for v2.5 ### Expected Behavior There are three new proxy models used to represent console, power, and interface connections. These are only used to represent connections, and cannot be manipulated directly. Thus, only the `view` permission is needed for these models. ### Observed Behavior View, add, change, and delete permissions are created for each of the three proxy models.
adam added the type: bugstatus: accepted labels 2025-12-29 17:22:46 +01:00
adam closed this issue 2025-12-29 17:22:47 +01:00
Author
Owner

@bdlamprecht commented on GitHub (Nov 28, 2018):

Following

@bdlamprecht commented on GitHub (Nov 28, 2018): Following
Author
Owner

@jeremystretch commented on GitHub (Nov 28, 2018):

Related to #2624

@jeremystretch commented on GitHub (Nov 28, 2018): Related to #2624
Author
Owner

@jeremystretch commented on GitHub (Nov 28, 2018):

It seems this stems from a long-known issue concerning the treatment of permissions in Django for proxy models.

@jeremystretch commented on GitHub (Nov 28, 2018): It seems this stems from a [long-known issue](https://code.djangoproject.com/ticket/11154) concerning the treatment of permissions in Django for proxy models.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2155