Skip to content
Snippets Groups Projects
Commit 67c26d23 authored by ammar_ar's avatar ammar_ar Committed by Rajab Natshah
Browse files

Issue #3448658 by Ammar_Jeetawi: Add the Keysave module and enable it

parent 3d676e8b
No related branches found
No related tags found
1 merge request!48Issue #3448658 by Ammar_Jeetawi: Add the Keysave module and enable it
......@@ -79,3 +79,12 @@ function varbase_admin_update_100005() {
$recipe = Recipe::createFromDirectory($module_path . '/recipes/updates/varbase_admin_update_100005');
RecipeRunner::processRecipe($recipe);
}
/**
* Issue #3448658: Add the Keysave module and enable it.
*/
function varbase_admin_update_100006() {
$module_path = Drupal::service('module_handler')->getModule('varbase_admin')->getPath();
$recipe = Recipe::createFromDirectory($module_path . '/recipes/updates/varbase_admin_update_100006');
RecipeRunner::processRecipe($recipe);
}
\ No newline at end of file
......@@ -28,6 +28,7 @@ install:
- gin_login
- gin_moderation_sidebar
- gin_everywhere
- keysave
config:
import:
varbase_admin:
......@@ -97,6 +98,7 @@ config:
- 'userprotect.account.edit'
- 'userprotect.mail.edit'
- 'userprotect.pass.edit'
- 'use keysave'
user.role.editor:
grantPermissions:
- 'customize shortcut links'
......
name: varbase_admin_update_100006
description: 'Issue #3448658: Add the Keysave module and enable it'
type: update
install:
- keysave
config:
actions:
user.role.authenticated:
grantPermissions:
- 'use keysave'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment