Merge pull request #705 from radiorabe/chore/show-settings-menu-for-all-users

Make Settings menu visible to all users
This commit is contained in:
Robb 2019-01-20 15:08:14 -05:00 committed by GitHub
commit e84a980492
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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