Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dantodev committed Apr 14, 2016
1 parent c0e78e1 commit 59800b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Judge.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ public function hasRight($rights, ObjectInterface $object = null, UserInterface
$user = $user ?: $this->_user;
$global_roles = $user->getGlobalRoles();

// TODO caching

// check global rights
foreach ($global_roles as $role) {
if ($this->_config->has("global.$role.rights")) {
Expand Down

0 comments on commit 59800b6

Please sign in to comment.