Contributors, editors, and managers on Drutopia sites can create and edit media (images, videos)

https://www.drupal.org/project/drutopia_core/issues/3405384
This commit is contained in:
benjamin melançon 2023-11-30 19:22:12 -05:00
parent c102efd31b
commit 05f18a5854
3 changed files with 61 additions and 0 deletions

View file

@ -3,6 +3,11 @@ langcode: en
status: true
dependencies:
config:
- media.type.audio
- media.type.document
- media.type.image
- media.type.remote_video
- media.type.video
- node.type.article
- node.type.blog
- node.type.page
@ -12,6 +17,7 @@ dependencies:
module:
- comment
- contextual
- media
- node
- system
- taxonomy
@ -24,23 +30,36 @@ is_admin: null
permissions:
- 'access contextual links'
- 'create article content'
- 'create audio media'
- 'create blog content'
- 'create document media'
- 'create image media'
- 'create media'
- 'create page content'
- 'create people content'
- 'create remote_video media'
- 'create resource content'
- 'create terms in tags'
- 'create video media'
- 'delete own article content'
- 'delete own blog content'
- 'delete own page content'
- 'delete own people content'
- 'delete own resource content'
- 'edit own article content'
- 'edit own audio media'
- 'edit own blog content'
- 'edit own comments'
- 'edit own document media'
- 'edit own image media'
- 'edit own page content'
- 'edit own people content'
- 'edit own remote_video media'
- 'edit own resource content'
- 'edit own video media'
- 'edit terms in tags'
- 'skip comment approval'
- 'update media'
- 'view own unpublished content'
- 'view own unpublished media'
- 'view the administration theme'

View file

@ -4,11 +4,17 @@ status: true
dependencies:
config:
- filter.format.restricted_html
- media.type.audio
- media.type.document
- media.type.image
- media.type.remote_video
- media.type.video
module:
- comment
- contextual
- file
- filter
- media
- node
- path
- redirect
@ -27,6 +33,7 @@ permissions:
- 'access content overview'
- 'access contextual links'
- 'access files overview'
- 'access media overview'
- 'access site in maintenance mode'
- 'access toolbar'
- 'access tour'
@ -38,12 +45,26 @@ permissions:
- 'administer users'
- 'bypass node access'
- 'bypass node access'
- 'create audio media'
- 'create document media'
- 'create image media'
- 'create media'
- 'create remote_video media'
- 'create url aliases'
- 'create url aliases'
- 'create video media'
- 'delete all revisions'
- 'edit any audio media'
- 'edit any document media'
- 'edit any image media'
- 'edit any remote_video media'
- 'edit any video media'
- 'revert all revisions'
- 'skip comment approval'
- 'update any media'
- 'use text format restricted_html'
- 'view all media revisions'
- 'view all revisions'
- 'view own unpublished content'
- 'view own unpublished media'
- 'view the administration theme'

View file

@ -6,6 +6,11 @@ dependencies:
- block_content.type.basic
- block_content.type.slide
- filter.format.restricted_html
- media.type.audio
- media.type.document
- media.type.image
- media.type.remote_video
- media.type.video
module:
- block
- block_content
@ -15,6 +20,7 @@ dependencies:
- contextual
- file
- filter
- media
- menu_admin_per_menu
- metatag
- node
@ -41,6 +47,7 @@ permissions:
- 'access content overview'
- 'access contextual links'
- 'access files overview'
- 'access media overview'
- 'access site in maintenance mode'
- 'access toolbar'
- 'access tour'
@ -61,20 +68,34 @@ permissions:
- 'assign manager role'
- 'bypass node access'
- 'bypass node access'
- 'create audio media'
- 'create basic block content'
- 'create document media'
- 'create image media'
- 'create media'
- 'create remote_video media'
- 'create slide block content'
- 'create url aliases'
- 'create url aliases'
- 'create video media'
- 'delete all revisions'
- 'edit any audio media'
- 'edit any basic block content'
- 'edit any document media'
- 'edit any image media'
- 'edit any remote_video media'
- 'edit any slide block content'
- 'edit any video media'
- 'edit own audio media'
- 'revert all revisions'
- 'revert any basic block content revisions'
- 'revert any slide block content revisions'
- 'skip comment approval'
- 'update any media'
- 'use text format restricted_html'
- 'view all revisions'
- 'view any basic block content history'
- 'view any slide block content history'
- 'view own unpublished content'
- 'view own unpublished media'
- 'view the administration theme'