To solve this issue, I modify the Pages\menu.php and replace the accesslevel. seems that
($_SESSION["SESSION_CUTEFLOW_ACCESSLEVEL"] == 2) : Admin
($_SESSION["SESSION_CUTEFLOW_ACCESSLEVEL"] == 8) : Sender
($_SESSION["SESSION_CUTEFLOW_ACCESSLEVEL"] == 1) : Reader
Putting "2" on textfield (line275) / template_type (line299) / maillist (line323) / statistic (line349) allow the access only for Admin.
Cddk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another simple workaround is to change showcirculation.php as per exaple:
function deleteCirculation(nCirculationId, nStart)
{
add test = '<?php $_SESSION["SESSION_CUTEFLOW_ACCESSLEVEL"] ?>';
add if (test != 2) {
add alert ("This action can only be performed by Administrator");
add return;
add }
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jack add,
admin centro control all document templates for whole company.
it should not be deleted by others.
To solve this issue, I modify the Pages\menu.php and replace the accesslevel. seems that
($_SESSION["SESSION_CUTEFLOW_ACCESSLEVEL"] == 2) : Admin
($_SESSION["SESSION_CUTEFLOW_ACCESSLEVEL"] == 8) : Sender
($_SESSION["SESSION_CUTEFLOW_ACCESSLEVEL"] == 1) : Reader
Putting "2" on textfield (line275) / template_type (line299) / maillist (line323) / statistic (line349) allow the access only for Admin.
Cddk
Another simple workaround is to change showcirculation.php as per exaple:
function deleteCirculation(nCirculationId, nStart)
{
add test = '<?php $_SESSION["SESSION_CUTEFLOW_ACCESSLEVEL"] ?>';
add if (test != 2) {
add alert ("This action can only be performed by Administrator");
add return;
add }