We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-hosted
v4.0.0
3.11
Hi,
Following this discussion #16000 I think I found a regression or missing feature between Django user/group models and Netbox models
If in a custom pipeline, calling netbox authentication model with from netbox.authentication import Group
from netbox.authentication import Group
I can't add users to a group with group.user_set.add(user)
<class 'AttributeError'>
'Group' object has no attribute 'user_set'
I can still add groups to a user with user.groups.add(group)
(many to many relationship issue ?)
I should be able to add users to a group, like I can add groups to user
Regression from Django
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Deployment Type
Self-hosted
NetBox Version
v4.0.0
Python Version
3.11
Steps to Reproduce
Hi,
Following this discussion
#16000
I think I found a regression or missing feature between Django user/group models and Netbox models
If in a custom pipeline, calling netbox authentication model with
from netbox.authentication import Group
I can't add users to a group with group.user_set.add(user)
I can still add groups to a user with user.groups.add(group)
(many to many relationship issue ?)
Expected Behavior
I should be able to add users to a group, like I can add groups to user
Observed Behavior
Regression from Django
The text was updated successfully, but these errors were encountered: