All assigned reviewers, staff or admin.
Source code in hypha/apply/funds/reviewers/services.py
| def get_all_reviewers(*args, **kwargs) -> QuerySet:
"""All assigned reviewers, staff or admin."""
q_obj = (
Q(submissions_reviewer__isnull=False)
| Q(groups__name=STAFF_GROUP_NAME)
| Q(is_superuser=True)
)
return User.objects.filter(q_obj).distinct()
|