Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Added example for LIFO
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson committed Mar 27, 2018
1 parent 18c7b67 commit ad483cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/book/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ before the "guest" role, the example code would print "allowed".
>
> When specifying multiple parents for a role, keep in mind that the last parent listed is the first
> one searched for rules applicable to an authorization query.
>
> For example:
> ```
> $acl->addRole(new Role('top'), ['bottom', 'middle']);
> ```
## Creating the Access Control List

Expand Down

0 comments on commit ad483cc

Please sign in to comment.