fix acl manager

This commit is contained in:
yuri
2015-08-27 15:29:30 +03:00
parent 9509d00fd4
commit 44ddf9b400
+1 -1
View File
@@ -166,7 +166,7 @@ class AclManager
return true;
}
$data = $this->getTable($user)->getScopeData($entity->getEntityType());
return $this->getImplementation($scope)->checkEntity($user, $entity, $data, $action);
return $this->getImplementation($entity->getEntityType())->checkEntity($user, $entity, $data, $action);
}
public function checkScope(User $user, $scope, $action = null, $isOwner = null, $inTeam = null, $entity = null)