Merge branch 'main' into za/2402-design-review

This commit is contained in:
zandercymatics 2024-10-03 12:54:52 -06:00
commit 2f8408e875
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
32 changed files with 1800 additions and 400 deletions

View file

@ -137,7 +137,6 @@ class UserGroup(Group):
+ cisa_analysts_group.name
)
cisa_analysts_group.save()
logger.debug("CISA Analyst permissions added to group " + cisa_analysts_group.name)
except Exception as e:
logger.error(f"Error creating analyst permissions group: {e}")
@ -159,7 +158,6 @@ class UserGroup(Group):
# Assign all permissions to the group
full_access_group.permissions.add(*all_permissions)
full_access_group.save()
logger.debug("All permissions added to group " + full_access_group.name)
except Exception as e:
logger.error(f"Error creating full access group: {e}")