Skip to content
Snippets Groups Projects
Commit f96dd06c authored by mattwire's avatar mattwire
Browse files

Respect selected permissions for outputs

parent 40081d64
No related branches found
No related tags found
1 merge request!24Respect selected permissions for outputs
...@@ -52,7 +52,7 @@ class UIOutputHelper { ...@@ -52,7 +52,7 @@ class UIOutputHelper {
$item = [ $item = [
'title' => $title, 'title' => $title,
'page_callback' => $outputClass->getCallbackForUi(), 'page_callback' => $outputClass->getCallbackForUi(),
'access_arguments' => [$dao->permission], 'access_arguments' => [[$dao->permission], 'and'],
]; ];
$items[$url] = $item; $items[$url] = $item;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment