-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
complexity: highExpected to require a large amont of time and effort to implement relative to other tasksExpected to require a large amont of time and effort to implement relative to other tasksnetboxstatus: backlogAwaiting selection for workAwaiting selection for worktype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
NetBox version
v4.5.0
Feature type
New functionality
Proposed functionality
Enhance the permissions constraint system to support dynamic lookups for indirect ownership via groups in the new Owner model introduced in #20634
Currently, constraints work for direct user assignments (e.g., {"owner__users": "$user"}), but attempting to traverse group memberships (e.g., {"owner__groups__users": "$user"}) fails validation due to unsupported lookups.
Use case
Allow teams (user groups) to manage owned objects (objects have Owner property set)
In environments with team-based ownership, assigning Groups to Owners is preferred to listing individual users.
Current workaround: assign individual Users to Owner.
Database changes
No response
External dependencies
No response
Metadata
Metadata
Assignees
Labels
complexity: highExpected to require a large amont of time and effort to implement relative to other tasksExpected to require a large amont of time and effort to implement relative to other tasksnetboxstatus: backlogAwaiting selection for workAwaiting selection for worktype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application