This project is not covered by Drupal’s security advisory policy.

The Workbench Access Menu Link module provides a Workbench Access hierarchy
plugin that uses Menu link fields to determine the access section for content.
It is intended for sites that place content in menu hierarchies through the
Menu Link module instead of Drupal core's menu settings.

Requirements

This module requires the following modules:

Installation

Install as you would normally install a contributed Drupal module. For further
information, see
Installing Drupal Modules.

If using Composer, run:

composer require drupal/wba_menu_link

Then enable the module with Drush or through the Drupal administrative UI:

drush en wba_menu_link

Configuration

  1. Enable the Workbench Access Menu Link module.
  2. Create or edit a content type that should be controlled by Workbench Access.
  3. Add a field of type Menu link to that content type.
  4. Go to Administration » Configuration » Workflow » Workbench Access.
  5. Select "Menu (Menu link field based)" as the active access scheme.
  6. Select the menus that should be available for access control.
  7. Save the active scheme.
  8. Configure the content type to use the Menu link field for Workbench Access.
  9. Assign users or roles to the relevant menu sections.

When content is saved with a Menu link field value, Workbench Access uses that
menu link and its hierarchy to determine which users can access the content.

Project information

Releases