PMC-1244 pmfUpdateUser/pmfCreateUser don't work from execute on case create and Start Timer Event

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-10-01 10:13:30 -04:00
parent d11ffe8514
commit c8fcc36d5b

View File

@@ -236,8 +236,8 @@ try {
config(['database.connections.workflow.port' => $dbHost[1]]);
}
//Enable RBAC
$rbac = RBAC::getSingleton(PATH_DATA, session_id());
//Enable RBAC, We need to keep both variables in upper and lower case.
$rbac = $RBAC = RBAC::getSingleton(PATH_DATA, session_id());
$rbac->sSystem = 'PROCESSMAKER';
if (!defined('DB_ADAPTER')) {