diff --git a/composer.json b/composer.json index 4e0821c1..56564286 100644 --- a/composer.json +++ b/composer.json @@ -64,6 +64,7 @@ "drupal/pathauto": "^1.8", "drupal/rabbit_hole": "^1.0@beta", "drupal/raven": "^3.2", + "drupal/rebuild_cache_access": "^1.9", "drupal/redirect": "^1.6", "drupal/redis": "^1.6", "drupal/registration_role": "^1.1", diff --git a/composer.lock b/composer.lock index 38ddb71d..eafb08a6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0b7de1704bd5ebc7ee03469bda5b0779", + "content-hash": "bdbd1aff7a816b02a3bbd8593a7808ca", "packages": [ { "name": "asm89/stack-cors", @@ -7523,6 +7523,50 @@ "source": "https://git.drupalcode.org/project/readonly_field_widget" } }, + { + "name": "drupal/rebuild_cache_access", + "version": "1.9.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/rebuild_cache_access.git", + "reference": "8.x-1.9" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/rebuild_cache_access-8.x-1.9.zip", + "reference": "8.x-1.9", + "shasum": "cf5b9eb8857a809bc0c2189e95c87a414d18fed6" + }, + "require": { + "drupal/core": "^8 || ^9 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.9", + "datestamp": "1688988261", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "leymannx", + "homepage": "https://www.drupal.org/user/2482808" + } + ], + "description": "Provide a Rebuild Cache admin toolbar button accessible to every role with the corresponding permission set.", + "homepage": "https://www.drupal.org/project/rebuild_cache_access", + "support": { + "source": "https://git.drupalcode.org/project/rebuild_cache_access" + } + }, { "name": "drupal/redirect", "version": "1.8.0", diff --git a/conf/cmi/core.extension.yml b/conf/cmi/core.extension.yml index ffd00fc3..eb1a61cf 100644 --- a/conf/cmi/core.extension.yml +++ b/conf/cmi/core.extension.yml @@ -134,6 +134,7 @@ module: path_alias: 0 rabbit_hole: 0 raven: 0 + rebuild_cache_access: 0 redirect: 0 redirect_404: 0 redis: 0 diff --git a/conf/cmi/user.role.admin.yml b/conf/cmi/user.role.admin.yml index e04369ef..497d9990 100644 --- a/conf/cmi/user.role.admin.yml +++ b/conf/cmi/user.role.admin.yml @@ -55,6 +55,7 @@ dependencies: - paragraphs_type_permissions - path - pathauto + - rebuild_cache_access - redirect - role_delegation - samlauth @@ -226,6 +227,7 @@ permissions: - 'edit terms in site_owners' - 'edit terms in states_of_sale' - 'edit terms in tasks' + - 'rebuild cache access' - 'revert all revisions' - 'revert landing_page revisions' - 'revert news revisions' diff --git a/conf/cmi/user.role.content_producer.yml b/conf/cmi/user.role.content_producer.yml index 996bf67b..50564771 100644 --- a/conf/cmi/user.role.content_producer.yml +++ b/conf/cmi/user.role.content_producer.yml @@ -40,94 +40,94 @@ label: 'Sisällöntuottaja suppea' weight: -5 is_admin: null permissions: - 0: 'access content' - 1: 'access content overview' - 2: 'access files overview' - 3: 'access media overview' - 4: 'access remote entities overview' - 6: 'access taxonomy overview' - 7: 'access toolbar' - 8: 'access user profiles' - 9: 'administer nodes' - 10: 'administer paragraphs library' - 11: 'cancel account' - 12: 'change own username' - 13: 'create file media' - 14: 'create image media' - 15: 'create landing_page content' - 16: 'create media' - 17: 'create news content' - 18: 'create page content' - 19: 'create paragraph library item' - 20: 'create remote_video media' - 21: 'create soundcloud media' - 22: 'create terms in faq_category' - 23: 'create terms in faq_haso' - 24: 'create terms in faq_hitas' - 25: 'create terms in keywords' - 26: 'create terms in news_category' - 27: 'create url aliases' - 28: 'delete media' - 29: 'delete own file media' - 30: 'delete own image media' - 31: 'delete own landing_page content' - 32: 'delete own news content' - 33: 'delete own page content' - 34: 'delete own remote_video media' - 35: 'delete own soundcloud media' - 36: 'delete terms in faq_category' - 37: 'delete terms in faq_haso' - 38: 'delete terms in faq_hitas' - 39: 'delete terms in keywords' - 40: 'delete terms in news_category' - 41: 'edit any file media' - 42: 'edit any image media' - 43: 'edit any landing_page content' - 44: 'edit any news content' - 45: 'edit any page content' - 46: 'edit any remote_video media' - 47: 'edit any soundcloud media' - 48: 'edit own file media' - 49: 'edit own image media' - 50: 'edit own landing_page content' - 51: 'edit own news content' - 52: 'edit own page content' - 53: 'edit own remote_video media' - 54: 'edit own soundcloud media' - 55: 'edit paragraph library item' - 56: 'edit terms in faq_category' - 57: 'edit terms in faq_haso' - 58: 'edit terms in faq_hitas' - 59: 'edit terms in keywords' - 60: 'edit terms in news_category' - 61: 'revert landing_page revisions' - 62: 'revert news revisions' - 63: 'revert page revisions' - 64: 'schedule publishing of nodes' - 65: 'set landing_page published on date' - 66: 'set page published on date' - 67: 'translate editable entities' - 68: 'translate faq_haso taxonomy_term' - 69: 'translate faq_hitas taxonomy_term' - 70: 'translate interface' - 71: 'translate keywords taxonomy_term' - 72: 'update media' - 73: 'use text format full_html' - 74: 'use text format full_html' - 75: 'use text format minimal' - 76: 'use text format minimal' - 77: 'view all media revisions' - 78: 'view all revisions' - 79: 'view any unpublished content' - 80: 'view any unpublished landing_page content' - 81: 'view any unpublished page content' - 82: 'view editoria11y checker' - 83: 'view landing_page revisions' - 84: 'view news revisions' - 85: 'view own unpublished content' - 86: 'view own unpublished media' - 87: 'view page revisions' - 88: 'view remote entities' - 89: 'view scheduled content' - 90: 'view the administration theme' - 91: 'view unpublished paragraphs' + - 'access content' + - 'access content overview' + - 'access files overview' + - 'access media overview' + - 'access remote entities overview' + - 'access taxonomy overview' + - 'access toolbar' + - 'access user profiles' + - 'administer nodes' + - 'administer paragraphs library' + - 'cancel account' + - 'change own username' + - 'create file media' + - 'create image media' + - 'create landing_page content' + - 'create media' + - 'create news content' + - 'create page content' + - 'create paragraph library item' + - 'create remote_video media' + - 'create soundcloud media' + - 'create terms in faq_category' + - 'create terms in faq_haso' + - 'create terms in faq_hitas' + - 'create terms in keywords' + - 'create terms in news_category' + - 'create url aliases' + - 'delete media' + - 'delete own file media' + - 'delete own image media' + - 'delete own landing_page content' + - 'delete own news content' + - 'delete own page content' + - 'delete own remote_video media' + - 'delete own soundcloud media' + - 'delete terms in faq_category' + - 'delete terms in faq_haso' + - 'delete terms in faq_hitas' + - 'delete terms in keywords' + - 'delete terms in news_category' + - 'edit any file media' + - 'edit any image media' + - 'edit any landing_page content' + - 'edit any news content' + - 'edit any page content' + - 'edit any remote_video media' + - 'edit any soundcloud media' + - 'edit own file media' + - 'edit own image media' + - 'edit own landing_page content' + - 'edit own news content' + - 'edit own page content' + - 'edit own remote_video media' + - 'edit own soundcloud media' + - 'edit paragraph library item' + - 'edit terms in faq_category' + - 'edit terms in faq_haso' + - 'edit terms in faq_hitas' + - 'edit terms in keywords' + - 'edit terms in news_category' + - 'revert landing_page revisions' + - 'revert news revisions' + - 'revert page revisions' + - 'schedule publishing of nodes' + - 'set landing_page published on date' + - 'set page published on date' + - 'translate editable entities' + - 'translate faq_haso taxonomy_term' + - 'translate faq_hitas taxonomy_term' + - 'translate interface' + - 'translate keywords taxonomy_term' + - 'update media' + - 'use text format full_html' + - 'use text format full_html' + - 'use text format minimal' + - 'use text format minimal' + - 'view all media revisions' + - 'view all revisions' + - 'view any unpublished content' + - 'view any unpublished landing_page content' + - 'view any unpublished page content' + - 'view editoria11y checker' + - 'view landing_page revisions' + - 'view news revisions' + - 'view own unpublished content' + - 'view own unpublished media' + - 'view page revisions' + - 'view remote entities' + - 'view scheduled content' + - 'view the administration theme' + - 'view unpublished paragraphs' diff --git a/conf/cmi/user.role.editor.yml b/conf/cmi/user.role.editor.yml index 544a6cbc..61df5cfe 100644 --- a/conf/cmi/user.role.editor.yml +++ b/conf/cmi/user.role.editor.yml @@ -38,101 +38,101 @@ label: 'Sisällöntuottaja laaja' weight: -4 is_admin: null permissions: - 0: 'access administration pages' - 1: 'access content overview' - 2: 'access files overview' - 3: 'access media overview' - 4: 'access remote entities overview' - 6: 'access taxonomy overview' - 7: 'access toolbar' - 8: 'access user profiles' - 9: 'administer menu' - 10: 'administer nodes' - 11: 'administer paragraphs library' - 12: 'administer redirects' - 13: 'administer url aliases' - 14: 'cancel account' - 15: 'change own username' - 16: 'create content translations' - 17: 'create file media' - 18: 'create image media' - 19: 'create landing_page content' - 20: 'create media' - 21: 'create page content' - 22: 'create paragraph library item' - 23: 'create remote entities' - 24: 'create remote_video media' - 25: 'create soundcloud media' - 26: 'create terms in keywords' - 27: 'create url aliases' - 28: 'delete any file media' - 29: 'delete any image media' - 30: 'delete any landing_page content' - 31: 'delete any media' - 32: 'delete any page content' - 33: 'delete any remote_video media' - 34: 'delete any soundcloud media' - 35: 'delete content translations' - 36: 'delete landing_page revisions' - 37: 'delete media' - 38: 'delete own file media' - 39: 'delete own image media' - 40: 'delete own landing_page content' - 41: 'delete own page content' - 42: 'delete own remote_video media' - 43: 'delete own soundcloud media' - 44: 'delete page revisions' - 45: 'delete remote entities' - 46: 'delete terms in keywords' - 47: 'edit any file media' - 48: 'edit any image media' - 49: 'edit any landing_page content' - 50: 'edit any page content' - 51: 'edit any remote_video media' - 52: 'edit any soundcloud media' - 53: 'edit own file media' - 54: 'edit own image media' - 55: 'edit own landing_page content' - 56: 'edit own page content' - 57: 'edit own remote_video media' - 58: 'edit own soundcloud media' - 59: 'edit paragraph library item' - 60: 'edit remote entities' - 61: 'edit terms in keywords' - 62: 'revert landing_page revisions' - 63: 'revert page revisions' - 64: 'schedule publishing of nodes' - 65: 'set landing_page published on date' - 66: 'set page published on date' - 67: 'translate any entity' - 68: 'translate apartment node' - 69: 'translate article node' - 70: 'translate editable entities' - 71: 'translate file media' - 72: 'translate image media' - 73: 'translate interface' - 74: 'translate keywords taxonomy_term' - 75: 'translate landing_page node' - 76: 'translate menu_link_content' - 77: 'translate page node' - 78: 'translate remote_video media' - 79: 'translate soundcloud media' - 80: 'update any media' - 81: 'update content translations' - 82: 'update media' - 83: 'use menu link attributes' - 84: 'use text format full_html' - 85: 'use text format full_html' - 86: 'use text format minimal' - 87: 'use text format minimal' - 88: 'view all media revisions' - 89: 'view all revisions' - 90: 'view any unpublished content' - 91: 'view editoria11y checker' - 92: 'view landing_page revisions' - 93: 'view own unpublished content' - 94: 'view own unpublished media' - 95: 'view page revisions' - 96: 'view scheduled content' - 97: 'view the administration theme' - 98: 'view unpublished paragraphs' + - 'access administration pages' + - 'access content overview' + - 'access files overview' + - 'access media overview' + - 'access remote entities overview' + - 'access taxonomy overview' + - 'access toolbar' + - 'access user profiles' + - 'administer menu' + - 'administer nodes' + - 'administer paragraphs library' + - 'administer redirects' + - 'administer url aliases' + - 'cancel account' + - 'change own username' + - 'create content translations' + - 'create file media' + - 'create image media' + - 'create landing_page content' + - 'create media' + - 'create page content' + - 'create paragraph library item' + - 'create remote entities' + - 'create remote_video media' + - 'create soundcloud media' + - 'create terms in keywords' + - 'create url aliases' + - 'delete any file media' + - 'delete any image media' + - 'delete any landing_page content' + - 'delete any media' + - 'delete any page content' + - 'delete any remote_video media' + - 'delete any soundcloud media' + - 'delete content translations' + - 'delete landing_page revisions' + - 'delete media' + - 'delete own file media' + - 'delete own image media' + - 'delete own landing_page content' + - 'delete own page content' + - 'delete own remote_video media' + - 'delete own soundcloud media' + - 'delete page revisions' + - 'delete remote entities' + - 'delete terms in keywords' + - 'edit any file media' + - 'edit any image media' + - 'edit any landing_page content' + - 'edit any page content' + - 'edit any remote_video media' + - 'edit any soundcloud media' + - 'edit own file media' + - 'edit own image media' + - 'edit own landing_page content' + - 'edit own page content' + - 'edit own remote_video media' + - 'edit own soundcloud media' + - 'edit paragraph library item' + - 'edit remote entities' + - 'edit terms in keywords' + - 'revert landing_page revisions' + - 'revert page revisions' + - 'schedule publishing of nodes' + - 'set landing_page published on date' + - 'set page published on date' + - 'translate any entity' + - 'translate apartment node' + - 'translate article node' + - 'translate editable entities' + - 'translate file media' + - 'translate image media' + - 'translate interface' + - 'translate keywords taxonomy_term' + - 'translate landing_page node' + - 'translate menu_link_content' + - 'translate page node' + - 'translate remote_video media' + - 'translate soundcloud media' + - 'update any media' + - 'update content translations' + - 'update media' + - 'use menu link attributes' + - 'use text format full_html' + - 'use text format full_html' + - 'use text format minimal' + - 'use text format minimal' + - 'view all media revisions' + - 'view all revisions' + - 'view any unpublished content' + - 'view editoria11y checker' + - 'view landing_page revisions' + - 'view own unpublished content' + - 'view own unpublished media' + - 'view page revisions' + - 'view scheduled content' + - 'view the administration theme' + - 'view unpublished paragraphs'