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

Issue #3406041: Grant new access unpublished permissions for the site admin user role

parent 21b098a1
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,8 @@ function varbase_workflow_install() {
ModuleInstallerFactory::importConfigsFromScanedDirectory('varbase_workflow', '/^.*(moderated_content.yml)$/i');
ModuleInstallerFactory::importConfigsFromScanedDirectory('varbase_workflow', '/^.*(settings.yml)$/i');
// Entity updates to clear up any mismatched entity and/or field definitions
// And Fix changes were detected in the entity type and field definitions.
\Drupal::classResolver()
......@@ -33,4 +35,7 @@ function varbase_workflow_install() {
// Add permissions.
ModuleInstallerFactory::addPermissions('varbase_workflow');
// Grant new access unpublished permissions for the site admin user role.
grant_access_unpublished_permissions('site_admin');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment