mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-29 12:50:55 +02:00
Being superuser is not enough (must have the correct mask), add some initial fixtures
This commit is contained in:
@ -178,6 +178,9 @@ class RolePermissions(models.Model):
|
||||
'permission.Permission'
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.role)
|
||||
|
||||
|
||||
# @receiver(post_save, sender=settings.AUTH_USER_MODEL)
|
||||
# def save_user_profile(instance, created, **_kwargs):
|
||||
|
Reference in New Issue
Block a user