From 2c9f88c556ae3c0524f300825a8a398d2d8d10cb Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 10 Oct 2024 16:49:26 +0100
Subject: [PATCH] Issue #3479912 by phenaproxima, alexpott: The
 content_editor_role recipe assigns a permission that might not exist

(cherry picked from commit ce7ab85d00dbbb9787bae122892e5b8e6a83768f)
---
 core/recipes/content_editor_role/recipe.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/core/recipes/content_editor_role/recipe.yml b/core/recipes/content_editor_role/recipe.yml
index 8fabcf38f5f7..abc2f132ae97 100644
--- a/core/recipes/content_editor_role/recipe.yml
+++ b/core/recipes/content_editor_role/recipe.yml
@@ -1,6 +1,9 @@
 name: 'Content editor role'
 description: 'Provides the Content editor role.'
 type: 'User role'
+install:
+  # Node provides the `view own unpublished content` permission.
+  - node
 config:
   # If the content_editor role already exists, we don't really care what it looks like.
   strict: false
-- 
GitLab