|
@@ -13,7 +13,7 @@ class WorkflowBaseAdmin extends BaseAdmin
|
|
|
public function getBatchActions()
|
|
|
{
|
|
|
$actions = parent::getBatchActions();
|
|
|
- if (!($this->checkRole('ROLE_SONATA_WORKFLOW_EDITOR') || $this->checkRole('ROLE_SUPER_ADMIN'))) {
|
|
|
+ if (!($this->checkRole('ROLE_SONATA_WORKFLOW_ADMIN') || $this->checkRole('ROLE_SONATA_WORKFLOW_EDITOR') || $this->checkRole('ROLE_SUPER_ADMIN'))) {
|
|
|
return $actions;
|
|
|
}
|
|
|
asort($actions);
|