From 05de001c4a60b0469d626ca6252f91ea4cf4b052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ph=C3=A9na=20Proxima?= Date: Sat, 22 Jun 2024 08:22:01 -0400 Subject: [PATCH] Give content editors sweeping permissions to administer content --- .../starshot/config/user.role.content_editor.yml | 5 +++++ recipes/starshot/recipe.yml | 14 -------------- recipes/starshot_multilingual/recipe.yml | 3 +-- 3 files changed, 6 insertions(+), 16 deletions(-) diff --git a/recipes/starshot/config/user.role.content_editor.yml b/recipes/starshot/config/user.role.content_editor.yml index d96bb787..99d19bf2 100644 --- a/recipes/starshot/config/user.role.content_editor.yml +++ b/recipes/starshot/config/user.role.content_editor.yml @@ -15,8 +15,13 @@ permissions: - 'access navigation' - 'access site in maintenance mode' - 'access toolbar' + - 'administer block content' + - 'administer media' + - 'administer nodes' - 'administer redirects' + - 'administer taxonomy' - 'administer url aliases' + - 'create and edit custom blocks' - 'create basic block content' - 'create url aliases' - 'edit any basic block content' diff --git a/recipes/starshot/recipe.yml b/recipes/starshot/recipe.yml index 772970a2..05d0daf8 100644 --- a/recipes/starshot/recipe.yml +++ b/recipes/starshot/recipe.yml @@ -107,20 +107,6 @@ config: simple_config_update: name: 'Starshot' page.front: '/node' - user.role.content_editor: - grantPermissionsForEachMediaType: - - 'create %bundle media' - - 'delete any %bundle media' - - 'edit any %bundle media' - grantPermissionsForEachNodeType: - - 'clone %bundle content' - - 'create %bundle content' - - 'delete %bundle revisions' - - 'delete any %bundle content' - - 'edit any %bundle content' - grantPermissionsForEachTaxonomyVocabulary: - - 'create terms in %bundle' - - 'edit terms in %bundle' views.view.files: setStatus: false node.settings: diff --git a/recipes/starshot_multilingual/recipe.yml b/recipes/starshot_multilingual/recipe.yml index 66e073de..0ea68791 100644 --- a/recipes/starshot_multilingual/recipe.yml +++ b/recipes/starshot_multilingual/recipe.yml @@ -31,6 +31,5 @@ config: grantPermissions: - 'create content translations' - 'delete content translations' + - 'translate any entity' - 'update content translations' - grantPermissionsForEachNodeType: - - 'translate %bundle node'