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
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
Comment #2
mariiadeny commentedComment #4
zanvidmar commentedComment #6
zanvidmar commentedComment #7
v.koval commentedApproved
Comment #8
v.koval commentedComment #9
mariiadeny commentedComment #11
ronaldtebrake commented