Skip to content

Releases: skibish/simple-rest-acl

1.0.0

Choose a tag to compare

@skibish skibish released this 22 Jun 18:01

What's new

  • This is version 1.0.0 (Yay!)
  • You can define not only resources but strict matches.
  • You can pass PSR-3 compatible logger to log verification process.
  • You can cache ACL rules and change resource regex

See more information in README.md.

Breaking changes

It will not be compatible with previous versions out of the box. If you want to make it compatible, just rewrite how you instantiated ACL object from

$acl = new ACL('path/to/your/acl.yml', $userRoles);

to

$acl = new ACL('path/to/your/acl.yml',  new Validator($userRoles));

0.1.3

Choose a tag to compare

@skibish skibish released this 30 May 13:55
  • Added getMissingRoles() method to get roles that are missing if verify() failed

0.1.1

Choose a tag to compare

@skibish skibish released this 14 Apr 17:36

All code is covered with tests. Stable

0.1.0

Choose a tag to compare

@skibish skibish released this 14 Apr 13:43

Inital release of simplest rest acl