Permissions Use embedded content has changed

Created on 22 November 2023, 10 months ago
Updated 23 November 2023, 10 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

Closed: duplicate

Version

1.1

Component

Code

Created by

πŸ‡ΏπŸ‡¦South Africa stewest Cape Town

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

Comments & Activities

Production build 0.71.5 2024