(self, _)
| 26 | |
| 27 | @action(methods=['post'], detail=True, url_path='add-all-users') |
| 28 | def add_all_users(self, _): |
| 29 | instance = self.get_object() |
| 30 | users = User.get_org_users().exclude(groups__id=instance.id) |
| 31 | instance.users.add(*users) |
| 32 | return Response(status=status.HTTP_200_OK) |
nothing calls this directly
no test coverage detected