Skip to content

Commit

Permalink
Change role for editing
Browse files Browse the repository at this point in the history
  • Loading branch information
Fafnur committed May 16, 2016
1 parent bf90dbc commit 1b2fe3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/ContentBlockController.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function removeAction($name)
private function isAuth()
{
$user = $this->getUser();
if (!$user || !$user->hasRole('ROLE_ADMIN')) {
if (!$user || !$user->hasRole('ROLE_SUPER_ADMIN')) {
return null;
}

Expand Down

0 comments on commit 1b2fe3a

Please sign in to comment.