소스 검색

Use the right object for ACL validation

Pascal Burkhard 14 년 전
부모
커밋
43a5cb8188
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Security/Handler/AclSecurityHandler.php

+ 1 - 1
Security/Handler/AclSecurityHandler.php

@@ -26,7 +26,7 @@ class AclSecurityHandler implements SecurityHandlerInterface
      */
     public function isGranted($attributes, $object = null)
     {
-        return $this->securityContext->isGranted($attributes, $this);
+        return $this->securityContext->isGranted($attributes, $object);
     }
 
     /**