class InviteOrganisationPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "READ", description = "a consortium member and the lead applicant can view the invites of all organisations")
    public boolean consortiumCanViewAnyInviteOrganisation(InviteOrganisationResource inviteOrganisation, UserResource user) {
        return isApplicationCollaboratorOrIsLeadApplicant(inviteOrganisation, user);
    }

}