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

  1. Install Varbase 9.2.x with the Blog component (or drush pm:enable varbase_blog).
  2. 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

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • fix: #3608535 Remove the Drupal-11-removed statistics permission from role configs
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed b1b69bee on 9.2.x
    fix: #3608535 Remove the Drupal-11-removed statistics permission from...
rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Issue summary: View changes
Status: Active » Fixed
Issue tags: +varbase-9.2.0, +varbase_blog-9.2.0

✅ Released varbase_blog-9.2.0

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.2.0

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.