merged branch Jola/comment-fix (PR #5992)

This PR was merged into the 2.0 branch.

Commits
-------

b3a8efd fixed comment. The parent ACL is not accessed in this method.

Discussion
----------

fixed comment. The parent ACL is not accessed in this method.

Just fixed a comment on PermissionGrantingStrategy.
hasSufficientPermissions() is not accessing the parent ACL. That's done in isGranted().
This commit is contained in:
Fabien Potencier 2012-11-13 13:50:22 +01:00
commit cb00411fc8

View File

@ -122,10 +122,8 @@ class PermissionGrantingStrategy implements PermissionGrantingStrategyInterface
* permission/identity combination. * permission/identity combination.
* *
* This process is repeated until either a granting ACE is found, or no * This process is repeated until either a granting ACE is found, or no
* permission/identity combinations are left. In the latter case, we will * permission/identity combinations are left. Finally, we will either throw
* call this method on the parent ACL if it exists, and isEntriesInheriting * an NoAceFoundException, or deny access.
* is true. Otherwise, we will either throw an NoAceFoundException, or deny
* access finally.
* *
* @param AclInterface $acl * @param AclInterface $acl
* @param array $aces An array of ACE to check against * @param array $aces An array of ACE to check against