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

Created on 1 November 2023, about 1 year ago
Updated 9 November 2023, about 1 year ago

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

πŸ“Œ Task
Status

Fixed

Version

11.11

Component

Code (back-end)

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024