Skip to content

Commit

Permalink
merged branch Jola/comment-fix (PR #5992)
Browse files Browse the repository at this point in the history
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().
  • Loading branch information
fabpot committed Nov 13, 2012
2 parents d060fd4 + b3a8efd commit cb00411
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -122,10 +122,8 @@ public function isFieldGranted(AclInterface $acl, $field, array $masks, array $s
* permission/identity combination.
*
* This process is repeated until either a granting ACE is found, or no
* permission/identity combinations are left. In the latter case, we will
* call this method on the parent ACL if it exists, and isEntriesInheriting
* is true. Otherwise, we will either throw an NoAceFoundException, or deny
* access finally.
* permission/identity combinations are left. Finally, we will either throw
* an NoAceFoundException, or deny access.
*
* @param AclInterface $acl
* @param array $aces An array of ACE to check against
Expand Down

0 comments on commit cb00411

Please sign in to comment.