Bases: BasePermission
Custom permission that user should have for screening the submission
has_permission
has_permission(request, view)
Source code in hypha/apply/api/v1/screening/permissions.py
| def has_permission(self, request, view):
try:
submission = view.get_submission_object()
except KeyError:
return True
if submission.is_archive:
return False
return True
|