Problem/Motivation

social_group module on hook_install add permission related to the social_book module that is not enabled yet, so after the social install "view node.book.field_content_visibility:group content" permission becomes undefined.

Steps to reproduce

Using version 11.11.x of Open Social with the upgrade_status module enabled
Go to admin/reports/upgrade-status and check for "Invalid permissions will trigger runtime exceptions in Drupal 10. Permissions should be defined in a permissions.yml file or a permission callback."

Proposed resolution

Remove "view node.book.field_content_visibility:group content from" permission form social_group_install, and move it to social_book_install

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Issue fork social-3398305

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

mariiadeny created an issue. See original summary.

mariiadeny’s picture

Title: Remove "view node.book.field_content_visibility:group content" permission form social_group install » Remove view node.book.field_content_visibility:group content permission form social_group install

zanvidmar’s picture

zanvidmar credited v.koval.

zanvidmar’s picture

v.koval’s picture

Approved

v.koval’s picture

Status: Active » Reviewed & tested by the community
mariiadeny’s picture

Issue summary: View changes

  • 4e7b1a11 committed on 12.0.x
    Issue #3398305 Move permission form social_group install to social_book...
ronaldtebrake’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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