Skip to content
Snippets Groups Projects
Commit e0aef511 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3344819: Add Permissions for user roles to Varbase Style Guide from...

Issue #3344819: Add Permissions for user roles to Varbase Style Guide from scanned config/permissions directory
parent 082af824
No related branches found
No related tags found
No related merge requests found
id: anonymous
permissions: { }
id: authenticated
permissions: { }
id: content_admin
permissions: { }
id: editor
permissions: { }
id: seo_admin
permissions: { }
id: site_admin
permissions: { }
......@@ -12,10 +12,13 @@ use Vardot\Installer\ModuleInstallerFactory;
*/
function varbase_styleguide_install() {
// Processer for install: in varbase_admin.info.yml file using ModuleInstallerFactory.
// Processor for install: in varbase_admin.info.yml file using ModuleInstallerFactory.
// ---------------------------------------------------------------------------.
ModuleInstallerFactory::installList('varbase_styleguide');
// Add permissions.
ModuleInstallerFactory::addPermissions('varbase_styleguide');
}
/**
......@@ -25,6 +28,6 @@ function varbase_styleguide_install() {
*/
function varbase_styleguide_update_90001() {
// Set the weight of the module after installation of list of modules.
// To make sure that any hook or event subscriber workes after all used modules.
// To make sure that any hook or event subscriber worker after all used modules.
ModuleInstallerFactory::setModuleWeightAfterInstallation('varbase_styleguide');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment