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.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | sobki_profile_dsfr-3440107-7.patch | 4 KB | grimreaper |
Issue fork sobki_profile_dsfr-3440107
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 #3
davidpetit commentedComment #4
davidpetit commentedUpdate 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.
Comment #5
maboy commentedHello 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,
Comment #6
grimreaperComment #7
grimreaperUploading patch from MR for Composer usage.
Comment #8
grimreaperComment #9
grimreaperMerged.