mirror of https://github.com/MISP/MISP
fix: [worflow:walkGraph] Correct usage of oganisation key
parent
2bedcda740
commit
8494c6d187
|
@ -562,9 +562,9 @@ class Workflow extends AppModel
|
|||
$userForWorkflow = [
|
||||
'email' => 'SYSTEM',
|
||||
'id' => 0,
|
||||
'org_id' => $hostOrg['Org']['id'],
|
||||
'org_id' => $hostOrg['Organisation']['id'],
|
||||
'Role' => ['perm_site_admin' => 1],
|
||||
'Organisation' => $hostOrg['Org']
|
||||
'Organisation' => $hostOrg['Organisation']
|
||||
];
|
||||
} else {
|
||||
$this->User = ClassRegistry::init('User');
|
||||
|
|
Loading…
Reference in New Issue