- ๐บ๐ธUnited States benjifisher Boston area
@gxleano:
Thanks for helping with this issue.
Whether or not the testing goes as expected, please give details about how you tested. A few screenshots would help: show the URL and the logged-in user, and perhaps the confirmation message after making changes.
- Issue was unassigned.
- Status changed to RTBC
almost 2 years ago 3:55pm 22 January 2023 - ๐ช๐ธSpain gxleano Cรกceres
Tested in version 9.2.1-dev, which is the branch the merge request is created against.
TEST RESULT (Step by step)
1. As an Admin user, go to
/admin/people/permissions
and check Layout builder permissions for Author and Editor roles.The permissions below are automatically enabled to the Author and Editor roles:
- Content - Article: Configure layout overrides for content items that the user can edit.
- Content - Basic page: Configure layout overrides for content items that the user can edit.
- Content - Recipe: Configure layout overrides for content items that the user can edit.
- Create and edit custom blocks.
2. As an Admin user, go to
/admin/structure/types/manage/article/display
and enable "Use Layout Builder" option over Layout options.3. As an Author and Editor user, try to edit the layout of his/him/their existing content (Article, Recipe or Basic Page).
Edited Layout of content
/node/11/edit?destination=/en/admin/content
, adding a Basic block (custom block) and everything is working as expected.To sum up, the code into the MRs looks good to me, and it's working as expected.
- Status changed to Needs work
almost 2 years ago 9:05pm 22 January 2023 - ๐บ๐ธUnited States benjifisher Boston area
@gxleano:
Thanks for the testing. Your Comment #16 is just what I had in mind.
Since 9.2.x is not even supported anymore, this issue should really target 10.1.x. The core committers may decide to back-port it to 10.0.x and 9.5.x since it is not a disruptive change. (It affects only new installations of the Umami demo profile.)
I checked, and the patch (or diff) from the merge request applies cleanly to the 10.1.x branch.
I also noticed that, after applying the patch, the permissions are not in alphabetical order. I am sorry I missed that in #9. I am setting the status back to NW for that. I think that fixing the order is a Novice task, so I am leaving that issue tag. I am removing the tag for manual testing. After #16, I do not think we have to re-test.
- @gxleano opened merge request.
- Status changed to RTBC
almost 2 years ago 3:05pm 24 January 2023 - ๐ช๐ธSpain gxleano Cรกceres
I've created a merge request to
10.1.x
adding the permissions ordered alphabetically. - Status changed to Needs work
almost 2 years ago 9:53am 25 January 2023 - ๐ซ๐ฎFinland lauriii Finland
It looks like CI is failing for the MR.
- ๐ฌ๐งUnited Kingdom joachim
array ( 0 => ' - core.entity_view_display.node.article.full', 1 => ' - core.entity_view_display.node.page.full', 2 => ' - core.entity_view_display.node.recipe.full', ),
These are dependencies that are missing in the role config. Permissions now have dependencies ( https://www.drupal.org/node/3055548 โ ) and so giving a role a permission for a node type means the role config entity has a dependency on the node type config entity.
(Aside: AssertConfigTrait::assertConfigDiff() should be converted to a PHPUnit custom assertion, and uuuuurgh the Drupal\Component\Diff component has no documentation!!!!)
- Status changed to Needs review
almost 2 years ago 11:53am 4 February 2023 - Status changed to Needs work
almost 2 years ago 12:13pm 4 February 2023 - ๐ช๐ธSpain gxleano Cรกceres
I've fixed the Demo Umami test, but now it seems to be unstable with FunctionalJavascript test in CKEditor 5.
- Status changed to Needs review
almost 2 years ago 11:15am 7 February 2023 - Status changed to RTBC
almost 2 years ago 11:26am 7 February 2023 - ๐ฌ๐งUnited Kingdom longwave UK
Updating title, and saving issue credit.
- ๐ฌ๐งUnited Kingdom longwave UK
Backported to 10.0.x/9.5.x as a low risk bug fix; the config change only affects newly installed demo sites.
Committed and pushed f0269a4896 to 10.1.x and 6f2b88b8dc to 10.0.x and 3d51469370 to 9.5.x. Thanks!
-
longwave โ
committed 6f2b88b8 on 10.0.x
Issue #3219967 by gxleano, bernardm28, benjifisher, joachim: Allow...
-
longwave โ
committed 6f2b88b8 on 10.0.x
-
longwave โ
committed f0269a48 on 10.1.x
Issue #3219967 by gxleano, bernardm28, benjifisher, joachim: Allow...
-
longwave โ
committed f0269a48 on 10.1.x
- Status changed to Fixed
almost 2 years ago 2:40pm 7 February 2023 -
longwave โ
committed 3d514693 on 9.5.x
Issue #3219967 by gxleano, bernardm28, benjifisher, joachim: Allow...
-
longwave โ
committed 3d514693 on 9.5.x
Automatically closed - issue fixed for 2 weeks with no activity.