Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Give content editors sweeping permissions to administer content #113

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions recipes/starshot/config/user.role.content_editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
14 changes: 0 additions & 14 deletions recipes/starshot/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions recipes/starshot_multilingual/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ config:
grantPermissions:
- 'create content translations'
- 'delete content translations'
- 'translate any entity'
- 'update content translations'
grantPermissionsForEachNodeType:
- 'translate %bundle node'