Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
10.53 KB
MD5: 6dcbdd91e9aab852ec2dc26535689e0c
SHA-1: 0839aaf7d0ef7f4eee1924d12829ad0edc6ca9de
SHA-256: d0b96690a17bc583d701b61ffbfe54558ac3d8ceae92714356d9e8ff6ac28a6f
Download zip
13.5 KB
MD5: bb3b4581f30952fb15f4d89d8c7985a7
SHA-1: e1648536757c58dca0469d1458b1231827105779
SHA-256: f0b88b9df453aacc1f91aa622a2a4a98a50f80525dfb389b16de91f8390e0826
Release notes
New features:
- Multiple permissions can now be selected.
- Added selection of a condition (AND or OR) for checking access rights. Currently only works with permissions. See #3135583: Implement AND/OR condition support for roles for role support.
Most of the work involved in this release was #3134604: Add restriction-by-role support to 2.x branch as the branches had diverged.
The upgrade path from 1.x should be working, but please report any problems.
Detailed changes since forking from 1.x (a8c97b7ef523c4d0440c7be8bfc74e2938708429):
- Update to 8.x-2.x (#)
- #3134604 by colan: Added ability to set field restrictions based on user role. (#)
- #3134604 by colan: Added missing form options for role vs. permissions control. (#)
- #3134604 by colan: Made the default roles an array to avoid "Invalid argument supplied for foreach()" warnings. (#)
- #3134604 by colan: Replaced a qualifier with an import. (#)
- #3134604 by colan: Used the updated variable name when settings default options. (#)
- #3134604 by colan: Checked for indices before using & refactored. (#)
- #3134604 by colan: Only show permissions when that's the chosen setting, and removed the original element. (#)
- #3134604 by colan: Moved the AND/OR condition to the bottom of the form. (#)
- #3134604 by colan: Switched to `switch` statement when saving config. (#)
- #3134604 by colan: Added a variable to shrink some code. (#)
- #3134604 by colan: Added more output to the post_update hook. (#)
- #3134604 by colan: Included the new role settings in the configuration update. (#)