mirror of https://github.com/MISP/MISP
fix: [Collections] path pluralisation fix inb acl check for collections, fixes #9745
- no longer breaks collections indexpull/9758/head
parent
92a07b01a4
commit
71f8e125e5
|
@ -366,7 +366,7 @@ $divider = '<li class="divider"></li>';
|
||||||
'url' => $baseurl . '/collections/index',
|
'url' => $baseurl . '/collections/index',
|
||||||
'text' => __('List Collections')
|
'text' => __('List Collections')
|
||||||
));
|
));
|
||||||
if ($this->Acl->canAccess('collection', 'add')) {
|
if ($this->Acl->canAccess('collections', 'add')) {
|
||||||
echo $this->element('/genericElements/SideMenu/side_menu_link', array(
|
echo $this->element('/genericElements/SideMenu/side_menu_link', array(
|
||||||
'element_id' => 'add',
|
'element_id' => 'add',
|
||||||
'url' => $baseurl . '/collections/add',
|
'url' => $baseurl . '/collections/add',
|
||||||
|
|
Loading…
Reference in New Issue