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( $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'),