Description of the need
Currently on the user permissions settings (admin/config/people/permissions
) the admin bar module uses a popup when the Access administration bar
setting is clicked for any role. The popup provides an alert that enabling the Access administration bar
setting also requires the system module Use the administration pages
to be enabled.
The popup offers two options: OK
and Cancel
. If OK
is clicked, both settings are enabled. If Cancel
is clicked only the Access administration bar
setting is enabled, rather than neither. This is odd behaviour and while it can be saved and viewed in the future it will not work to allow the role access to the administration bar. Some may consider this to be a bug, thus not a feature request.
Furthermore, it is common practice for many people to not allow popups on their browsers, for security and other reasons, so they will never see the alert anyway and saving with only the admin bar permission enabled is permitted without any warnings with the resulting effect that things may not behave as people expect.
In addition, it may be important for Backdrop core and contrib modules to avoid any use of popups.
Proposed solution
A better solution is to improve the description for the Access administration bar
setting, adding that it requires the System module Use administration pages
setting for the role to be enabled.
This would eliminate the need for the popup while providing the information needed by people when using the admin bar settings.
Additional information
Add any other information or screenshots that would help. Current behaviour with popup:
Draft of feature description for Press Release (1 paragraph at most)
This change will not require a feature description.
Recent comments
Tried and successfully applied DrAlbany's method with the form https://www.drupal.org/sandbox/grobot/2105379stickman hook. I also encountered the same situation. Thanks DrAlbany
Ubercart - Auto increment SKU
Since before migration you need to prepare the Drupal site - disabling and removing all modules, disabling themes, as part of the preparation you can clear the cache and logs, delete the search...
Trimming the size of my database for D2B_migrate not to error out (Request Entity Too Large / 504 Gateway Time-out)
QuickTabs is now available!!! But does not work as expected, already reported (https://github.com/backdrop-contrib/quicktabs/issues/14). Maybe an alternative solution using Views...
Quick Tabs (or method to simulate)