Active
Project:
Masquerade
Version:
8.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2015 at 07:42 UTC
Updated:
7 Feb 2020 at 21:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chi commentedComment #3
chi commentedCleanup
Comment #4
andypostThanx for idea, technical implementation suppose should be a bit different
This approach solves at last current regression of absence unmasquerade link (seems menu changes)
Also I thought about svg icon for right area of toolbar but toolbar is not enabled for authenticated users in standard profile so we need default menu link in any standard menus.
Having a dialog form to masquerade require to add setting for redirect or front route because modal have no referer to redirect
Comment #5
chi commentedMany sites do not use standard menus.
Comment #6
andypostTake a loot at comment and user module
*.links.menu.ymlfiles they provide links for standard profile. I just can't get why access for them is not checked right nowComment #7
wim leersSo, #6 is answered by #2463659: Regression test coverage: integration test for an uncacheable menu link that depends on session data, and is fixed by #1805054: Cache localized, access filtered, URL resolved, and rendered menu trees. Access now is correctly checked, even when menu blocks are render cached.
Comment #8
andypostIt makes sense to use the same approach as
\Drupal\user\Plugin\Menu\LoginLogoutMenuLinkdoes in core nowComment #9
wim leersThat makes sense :)
Comment #10
andypostPostponed on #2695779: Unmasquerade link appears for users with the permission: 'link to any page', regardless of masquerade status.
Comment #11
andypost