This commit is contained in:
Markos Gogoulos
2025-05-16 09:37:02 +03:00
parent 5028fee83d
commit cf6d9ae065
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -174,8 +174,6 @@ class User(AbstractUser):
self.is_editor = False
self.is_manager = False
update_fields.extend(['is_superuser', 'is_staff', 'advancedUser', 'is_editor', 'is_manager'])
# XYZ TODO: to confirm with Thorkild
# return True
if update_fields:
self.save(update_fields=update_fields)