Skip to content
Snippets Groups Projects

Draft: ISTWCMS-5418: Remove 'access content' permission for authenticated sites

Closed Liam Morland requested to merge feature/ISTWCMS-5418-lkmorlan-auth-site into 1.0.x
Files
9
@@ -105,11 +105,16 @@ class UwDrushCommands extends DrushCommands {
UwRoles::setUwPermissions($uw_role, $additional);
// Set message for specific role setting permissions.
$this->logger()->success('Permissions set for ' . $uw_role['label'] . '.');
// The logger() may not exist if this is called outside of Drush.
if ($this->logger()) {
$this->logger()->success('Permissions set for ' . $uw_role['label'] . '.');
}
}
// Set message for command completed.
$this->logger()->success('All permissions set.');
if ($this->logger()) {
$this->logger()->success('All permissions set.');
}
}
/**
Loading