Assign Shortcut Set to a Role

Shortcut per Role is a simple module to allow a shortcut set to be assigned per role.

This module works well when each user is generally assigned a single role like "administrator", "content editor", "moderator" etc. However this module becomes complicated and less useful if your roles and permissions model is such that each user has multiple roles. The current behavior will assign the shortcut set to the highest weighted role belonging to the user. If you find this behavior frustrating, please chip in on #3145202: Option to combine shortcut sets for users with multiple roles.

Follow the core issue #1122816: Assign shortcut set to role, from whence inspiration for this module came and consideration for inclusion into Drupal Core.

Requirements

Drupal core's Shortcut module must be enabled.

Related modules

  • Private Shortcut
    Allows users to manage their own shortcut set. Unlike shortcut per role, each Drupal user controls their own private shortcut set.

    They can be installed together, but both modules manage the default shortcut set, so only one of them actually takes effect according to the user permissions.

Supporting organizations: 
Drupal 9, 10 release shepherding

Project information

Releases