class ProjectInvitePermissionRules extends BasePermissionRules {

    @PermissionRule(value = "READ_PROJECT_INVITE", description = "A user can view a project invite that they are partners on")
    public boolean partnersOnProjectCanViewInvite(final ProjectUserInviteResource invite, UserResource user) {
        return isUserMemberOfProjectTeam(invite, user);
    }

}