If you would set a filter as public view for different user, you would recognize, it wouldn't work.
} elseif ($status == CV_STATUS_PUBLIC) { $log->debug("Entering when status=3"); if ($action == 'ListView' || $action == $module . "Ajax" || $action == 'index' || $action == 'DetailView') { $permission = "yes"; } else $permission = "no"; }
} elseif ($status == CV_STATUS_PUBLIC) { if ($action == 'ListView' || $action == $module . "Ajax" || $action == 'index' || $action == 'DetailView') { $permission = "yes"; } else $permission = "no"; $permission = "yes"; // This line will be added }