Install
Works with Drupal: ^9 || ^10Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Bug:
- #3384483: Unable to run access_policy_update_9001.
- #3384668 by mandclu, partdigital: Add update hook for migrating configuration.
Update notes
If upgrading from 1.0.0-alpha7 or earlier:
Please upgrade to 1.0.0-alpha8 first or the upgrade to 1.0.0-beta2 will not work.
Also read the release notes for each release as they may have special instructions.
If upgrading from 1.0.0-alpha8:
Put the site in maintenance mode. Upgrading to the new code will cause a fatal error before the update is run. This is expected. It will resolve itself after running updb.
There were some major configuration changes in 1.0.0-beta1. This does its best to attempt to migrate those over, however it's strongly recommended to review your selection mode settings after update.
- Go to
/admin/people/access-policies - Click the Content settings link.
- Confirm that Selection mode settings are as expected. "Default" is the old "Automatic" mode and "Discretionary" is the old "Manual" mode.
- Save the configuration.
- Repeat these steps for all entity types that are controlled by access policy.
Breaking changes
Content entity type support
In 1.0.0-beta1, we relaxed some constraints in order to support more entity types, especially paragraphs . However, that caused some unexpected behavior with some contrib modules. We've reverted that change with the exception of still supporting paragraphs. Nodes, Blocks, Media, Taxonomy etc. continue to be supported.