With the latest release of admin_toolbar 8.x-2.2, during the update the admin_toolbar_search sub-module is auto-installed.
For users without permission to "Use Admin Toolbar search", the search box shows still shows as un-styled and breaks the layout of admin toolbar menu.
Screenshots attached.
After giving "Use Admin Toolbar search", the search shows correctly.
The search box should not show for Users without "Use Admin Toolbar search" permission.
| Comment | File | Size | Author |
|---|---|---|---|
| ats_issue_2.jpg | 26.42 KB | nanobyt3 | |
| ats_issue_1.jpg | 18.15 KB | nanobyt3 |
Comments
Comment #2
hoporr commentedConfirming this.
Only option right now is to disable the search, which, obviously, defeats the purpose.
Comment #3
anruetherThe related issue got committed but does not have a release yet. In the meantime you can use the patch or update to dev.
Comment #4
thomwilhelm commentedI don't think this is a duplicate of that ticket. The patch in comment #19 from the ticket you mentioned as a duplicate #3091968 is already in the latest stable release 2.2.
The last comment on that ticket was asking for a new ticket to be raised after the issue still persisted, so this is it.
Comment #5
thomwilhelm commentedSo turns out this is fixed in dev, patch is here on ticket 3126311:
https://www.drupal.org/project/admin_toolbar/issues/3126311#comment-1354...