Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: ^8.7.7 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Download workbench_access-8.x-1.0.tar.gztar.gz
233.44 KB
MD5: 20c6d1496cdbf222ff4db5b27bbd4b48
SHA-1: 71e70ad7b47baee6bde2fe4e37752b208d821705
SHA-256: 9aa360e6e35d4ea950b9d8016b71a3f1730756be06fc6593e74839053d9df21b
Download workbench_access-8.x-1.0.zipzip
316.34 KB
MD5: 0327a80bdc286d082e296414c065f358
SHA-1: 5c2180d213a3b1eecfbc6870803f4acb37d2d189
SHA-256: 8a0a3d03345a4128c17414b02c11f43a9ef5a99d3deea2ce1e5229aa882bf3b7
Release notes
The stable release is 8.x-1.0. However, this release will no longer receive any development or bugfixes, only support for configuration questions. The 8.x-1.x branch is closed. Current development is in the 2.x branch, and the next release will be 2.0.0 from that branch.
Main fixes
- Fixes PHP 8 compatibility.
- Fixes Drupal 9 & 10 compatibility.
- Rewrites code style according to PHPCS and PHPSTAN rules
Changelog
- Issue #3201775: The views filter needs to have cacheability metadata applied when using Views caching by agentrickard, joshua1234511, ramya.shankaralingam: The views filter needs to have cacheability metadata applied when using Views caching
- Issue #3307172: Add message on uiser assignment by omkar-pd, agentrickard: Add message on uiser assignment
- Fix usage of == to === where appropriate.
- Issue #3298498: workbench_access AccessControlHierarchy implementations leak cacheability metadata by timcosgrove: workbench_access AccessControlHierarchy implementations leak cacheability metadata
- Update README
- Runs PHPCS and PHPSTAN to fix code style and PHP 8 issues
- Issue #3257706: Circular dependency injecting workbench_access.user_section_storage into a service decorator by mstrelan, larowlan: Circular dependency injecting workbench_access.user_section_storage into a service decorator
- Add gitingore file
- Issue #3299515: Automated Drupal 10 compatibility fixes by Project Update Bot, larowlan: Automated Drupal 10 compatibility fixes
- Issue #3284067: NOTICE: PHP message: TypeError: array_filter(): Argument #1 ($array) must be of type array, null given by yojohnyo, agentrickard: NOTICE: PHP message: TypeError: array_filter(): Argument #1 ($array) must be of type array, null given
- Issue #3207618: InvalidQueryException when no role has the "use workbench access" permission by prudloff, agentrickard: InvalidQueryException when no role has the "use workbench access" permission
- Issue #3208657: Bug when checking if a user has root level access to all sections by becw: Bug when checking if a user has root level access to all sections
- Fix for deprecated PHP 8 uasort() syntax.
- Remove extra load() from the role form.
- Fix failing test on PHP 8.
- Issue #3219113: Claro theme breaks workbench_access.js by agentrickard, prudloff, larowlan: Claro theme breaks workbench_access.js
- Issue #3182153: drupalPostForm in functional tests is deprecated by paulocs: drupalPostForm in functional tests is deprecated
- Issue #3167039: Users without top level access can create new pages under menu root by agentrickard, emixaam: Users without top level access can create new pages under menu root
- Issue #3162685: Adding a role to an editorial section not reflected on user entity workbench access tab by agentrickard, thoogend: Adding a role to an editorial section not reflected on user entity workbench access tab
- Issue #2988119: Setting a default menu value by andy_w, agentrickard: Setting a default menu value
- Improves handling of access cache clear and updates tests for it.
- Issue #3150137: Exception in Views section filter on on D9 when current user is not in a section by dpi: Exception in Views section filter on on D9 when current user is not in a section
- Properly clear access cache on add/remove
- Update tests for Drupal 9
- Skip the upgrade path test on Drupal 9.
- Issue #3118596: Cache isn't invalidated after user is removed from section/added to section. by agentrickard: Cache isn't invalidated after user is removed from section/added to section
- Fixes missing isset.
- Issue #3149403: Automated Drupal 9 compatibility fixes by Project Update Bot, agentrickard: Automated Drupal 9 compatibility fixes