diff --git a/program/management/commands/addpermissions.py b/program/management/commands/addpermissions.py index 3eef524ca44e5b368cd60115e8efb3022dd681ac..64f4cb535ad0c7fe79329b3de3cb4cb8d22458aa 100644 --- a/program/management/commands/addpermissions.py +++ b/program/management/commands/addpermissions.py @@ -52,3 +52,11 @@ class Command(BaseCommand): self.stdout.flush() host_plus_group.permissions.add(*edit_permissions) self.stdout.write(self.style.SUCCESS(len(edit_permissions))) + + self.stdout.write( + f"Adding edit permissions on host, note & show to the '{program_group}' group... ", + ending="", + ) + self.stdout.flush() + program_group.permissions.add(*edit_permissions) + self.stdout.write(self.style.SUCCESS(len(edit_permissions)))