Problem/Motivation

Adding non-existent permissions to a role is not allowed. The incorrect permissions are "access_layout_builder_browser_library", "translate block_content", "translate paragraph".

Steps to reproduce

During installation of the profile, this error appears.

Proposed resolution

For now, we should delete those permissions in the roles yaml files in "config/install/user.role.content_editor.yml" and "config/install/user.role.webmaster.yml".

This way, when the profile installs those roles, they do not contain those missing permissions and this error is not triggered.

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

DavidPetit created an issue. See original summary.

davidpetit’s picture

davidpetit’s picture

Update on this issue, I was missing patches. Now with patches, only those "translate block_content", "translate paragraph" are mentionned in the error. So we can keep "access_layout_builder_browser_library" now.

maboy’s picture

Hello DavidPetit,

This issue is triggered because there is no content block or paragraph provided by the profile yet.
The DSFR version of Sobki profile is still WIP.
The issue will be solved when content block and paragraph are added to the installation profile.

Till that, you can use your MR to work with Sobki DSFR !

Regards,

grimreaper’s picture

Title: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "access_layout_builder_browser_library", "translate block_content", "translate paragraph". » Permission errors prevents installation
Status: Active » Postponed
grimreaper’s picture

StatusFileSize
new4 KB

Uploading patch from MR for Composer usage.

grimreaper’s picture

Assigned: Unassigned » grimreaper
grimreaper’s picture

Version: 10.0.0-alpha1 » 10.0.x-dev
Assigned: grimreaper » Unassigned
Status: Postponed » Fixed

Merged.

Status: Fixed » Closed (fixed)

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