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

View file

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

View file

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