Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Some users maybe want to assign specific menu to specific user role. Right now module use only 'management' system menu.
For example, if you are 'administrator' then 'management' menu is suitable for you, but what if your role is 'content manager' and you want to have your own menu in navigation toolbar.
So, I think, it would be great to have this settings.
Comment | File | Size | Author |
---|---|---|---|
#2 | navbar-ability-to-assign-menu-for-user-role-1927830-2.patch | 2.65 KB | andrey_zb |
#1 | navbar-ability-to-assign-menu-for-user-role-1927830-1.patch | 3.94 KB | andrey_zb |
Comments
Comment #1
andrey_zb CreditAttribution: andrey_zb commentedSo I have a solution for this point.
Added settings menu item and respective functionality.
Comment #2
andrey_zb CreditAttribution: andrey_zb commentedPlease excuse me, this is my first public patch.
So, patch with few improvements is in attach
Comment #3
jessebeach CreditAttribution: jessebeach commentedandrey_zb, thank you for the patch! Would you mind working on the D8 version first, then we can backport the solution to D7 after?
#1939884: Make the administration menu in the toolbar plugabble: don't hardcode to the 'admin' menu
Postponing on a solution in the D8 Toolbar module.
Comment #4
andrey_zb CreditAttribution: andrey_zb commentedPatch was designed for Navbar 7.x-1.1, and will not work for the latest module version
Comment #5
nithinkolekar CreditAttribution: nithinkolekar commentedIMO lot of users/contributors are still not moved to d8 and very familiar with d7. So it would be nice to keep this open for d7 until D8 RC get released.
I think admin menu source could be ported to support navbar.
Comment #6
eshta CreditAttribution: eshta at Acquia commentedNavbar is just a port of the D8 toolbar. As such, all of the issues have to first be addressed in D8. That's why it was suggested to continue work in that area first. Once it is added to D8 then we can look at back-porting it here.