mirror of https://github.com/MISP/MISP
chg: [galaxyCluster] Allow all clusters to be forked as long as user can
edit galaxiespull/6120/head
parent
f71891fec6
commit
54e2714bd5
|
@ -243,11 +243,7 @@
|
|||
'icon' => 'code-branch',
|
||||
'complex_requirement' => array(
|
||||
'function' => function($row, $options) {
|
||||
return !$options['datapath']['default'] &&
|
||||
(
|
||||
$options['me']['Role']['perm_site_admin'] ||
|
||||
($options['me']['org_id'] == $options['datapath']['org'] && $options['me']['Role']['perm_galaxy_editor'])
|
||||
);
|
||||
return $options['me']['Role']['perm_galaxy_editor'];
|
||||
},
|
||||
'options' => array(
|
||||
'me' => $me,
|
||||
|
|
Loading…
Reference in New Issue