Files
luos/workflow/engine/methods/setup/auditLog.php

20 lines
533 B
PHP
Raw Normal View History

<?php
2019-10-07 09:05:05 -04:00
use ProcessMaker\Log\AuditLog;
global $RBAC;
if ($RBAC->userCanAccess("PM_SETUP") != 1) {
G::SendTemporalMessage("ID_USER_HAVENT_RIGHTS_PAGE", "error", "labels");
exit(0);
}
$auditLog = new AuditLog();
$auditLog->setUserLogged($_SESSION["USER_LOGGED"]);
2017-12-04 13:25:35 +00:00
$oHeadPublisher = headPublisher::getSingleton();
$oHeadPublisher->addExtJsScript("setup/auditLog", true);
$oHeadPublisher->assign("CONFIG", $auditLog->getConfig());
$oHeadPublisher->assign("ACTION", $auditLog->getActions());
2017-12-04 13:25:35 +00:00
G::RenderPage("publish", "extJs");