1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #6064: Fix object permission assignments for user and group models

This commit is contained in:
jeremystretch
2021-05-28 13:27:05 -04:00
parent bd7bcf8a0b
commit 1e02bb5999
3 changed files with 6 additions and 8 deletions

View File

@ -17,8 +17,6 @@ from .constants import *
__all__ = (
'AdminGroup',
'AdminUser',
'ObjectPermission',
'Token',
'UserConfig',
@ -163,7 +161,6 @@ class UserConfig(models.Model):
@receiver(post_save, sender=User)
@receiver(post_save, sender=AdminUser)
def create_userconfig(instance, created, **kwargs):
"""
Automatically create a new UserConfig when a new User is created.