Skip to content

Commit

Permalink
Update permission for Settings menu (cog icon)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan-Aleev committed Aug 8, 2024
1 parent 7268c25 commit 5c64f97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _build/data/transport.core.menus.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
'text' => 'admin',
'description' => '',
'parent' => 'usernav',
'permissions' => 'settings',
'permissions' => 'menu_system',
'action' => '',
'icon' => '<i class="icon-gear icon icon-large"></i>',
], '', true, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
'menu_text' => 'components',
'menu_only' => false,
],
'settings' => [
'name' => 'menu_system',
'description' => 'perm.menu_system_desc',
'menu_text' => 'admin',
'menu_only' => true,
],
];

// Remove permissions
Expand Down

0 comments on commit 5c64f97

Please sign in to comment.