User and group queries are not properly restricted via GraphQL API #7814
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.0.9
Python version
3.8
Steps to Reproduce
/graphql/
)Expected Behavior
The query should return an empty list due to insufficient permissions.
Observed Behavior
The results are not filtered. This is due to a missing call to
restrict()
on the queryset for these models. (These models are provided by the Django framework, so they're handled a bit differently than native NetBox models.)The text was updated successfully, but these errors were encountered: