mirror of https://github.com/MISP/MISP
Tweak to allow IOC Export of events you don't own but are shared
parent
1aec3ac01b
commit
8678103d59
|
@ -8,7 +8,9 @@ class IOCExportComponent extends Component {
|
|||
$temp = array();
|
||||
if (!$isSiteAdmin) {
|
||||
if (!$isMyEvent) {
|
||||
if ($event['Event']['distribution'] == 0) {
|
||||
throw new Exception('Nothing to see here (not authorised)');
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->__buildTop($event);
|
||||
|
|
Loading…
Reference in New Issue