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 Oct 1, 2024
1 parent 6063413 commit c40c32b
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 @@ -31,6 +31,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 c40c32b

Please sign in to comment.