Permissions Use embedded content has changed

Created on 23 November 2023, 11 months ago

Problem/Motivation

The embedded_content module changed the name of its permission from "Use embedded content" to "Administer embedded content"

https://git.drupalcode.org/project/embedded_content/-/commit/c0089c5918e...

So we need to change our permission granting
$editor_role_object->grantPermission('use embedded content');

Steps to reproduce

Install a fresh Sector Alpha 3 release and at drush install time, we get error.

In Role.php line 207:

Adding non-existent permissions to a role is not allowed. The incorrect permissions are "use embedded content".

Proposed resolution

Change "Use embedded content" to "Administer embedded content"

📌 Task
Status

Fixed

Version

10.0

Component

Code

Created by

🇳🇿New Zealand stewest Wellington

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024