🐛 Make Settings menu visible to all users

This commit is contained in:
Lucas Bickel 2019-01-20 14:52:50 +01:00
parent 87b8ef4f91
commit 287cd28546

View file

@ -68,10 +68,9 @@ $pages[] = array(
); );
$pages[] = array( $pages[] = array(
'label' => _("Settings"), 'label' => _("Settings"),
'resource' => 'preference', 'action' => 'edit-user',
'action' => 'index',
'module' => 'default', 'module' => 'default',
'controller' => 'preference', 'controller' => 'user',
'class' => '<i class="icon-cog icon-white"></i>', 'class' => '<i class="icon-cog icon-white"></i>',
'title' => 'Settings', 'title' => 'Settings',
'pages' => array( 'pages' => array(
@ -84,8 +83,7 @@ $pages[] = array(
array( array(
'label' => _('My Profile'), 'label' => _('My Profile'),
'controller' => 'user', 'controller' => 'user',
'action' => 'edit-user', 'action' => 'edit-user'
'resource' => 'usersettings'
), ),
array( array(
'label' => _('Users'), 'label' => _('Users'),