mirror of https://github.com/MISP/MISP
fix: [dashboard] removed training example left in the code
- restricted new module to only 3 user IDspull/7037/head v2.4.139
parent
8a46933641
commit
6fd2c4807a
|
@ -85,11 +85,4 @@ class EventStreamWidget
|
|||
'fields' => $fields
|
||||
];
|
||||
}
|
||||
|
||||
public function checkpermissions($user) {
|
||||
if (in_array($user['id'], [1, 2, 3])) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue