Bases: BasePermission
Custom permission to only allow organisation Staff or higher
has_permission
has_permission(request, view)
Source code in hypha/apply/api/v1/permissions.py
| def has_permission(self, request, view):
return request.user.is_apply_staff
|
has_object_permission
has_object_permission(request, view, obj)
Source code in hypha/apply/api/v1/permissions.py
| def has_object_permission(self, request, view, obj):
return request.user.is_apply_staff
|