Problem/Motivation
Installing varbase_blog on 9.2.x (Drupal ~11.4) logs, for the Editor, Content Admin, SEO Admin and Site Admin roles:
Non-existent permission(s) assigned to role … Invalid permission(s): view post access counter.
The statistics module was removed from Drupal core in Drupal 11, so its view post access counter permission no longer exists, but the config/permissions/user.permissions.*.yml files still grant it.
Steps to reproduce
- Install Varbase 9.2.x with the Blog component (or
drush pm:enable varbase_blog).
- The four "Non-existent permission(s)" errors are logged.
Proposed resolution
Remove view post access counter from the four config/permissions/user.permissions.*.yml files (editor, content_admin, seo_admin, site_admin).
Remaining tasks
- ✅ File an issue about this project
- ✅ Addition/Change/Update/Fix to this project
- ✅ Testing to ensure no regression
- ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support on feature change/addition
- ➖ User Guide Documentation support on feature change/addition
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ✅ Reviewed by a human
- ✅ Code review by maintainers
- ✅ Full testing and approval
- ✅ Credit contributors
- ✅ Review with the product owner
- ✅ Update Release Notes
- ✅ Release varbase-9.2.0, varbase_blog-9.2.0
User interface changes
API changes
Data model changes
Release notes snippet
fix: #3608535 Remove the Drupal-11-removed statistics permission from role configs
Comments
Comment #4
rajab natshah✅ Released varbase_blog-9.2.0
Comment #6
rajab natshah✅ Released varbase-9.2.0