All notable changes to Lock will be documented in this file. This file follows the Keep a CHANGELOG standards.
- Added the ability to clear permissions
- Switched from Scrutinizer to Code Climate for analysis
- Renamed the
createFromArray
method on thePermissionFactory
tocreateFromData
- Fixed a bug where only array data could be passed to the
PermissionFactory
- Fixed a bug where a action alias got denied but was still accepted
- Scrutinizer config for code quality and code coverage
- Changelog
- Contributers file
.gitattributes
file- Added section to readme about testing your driver
- The
Manager
class now has methods to set the lock instance for objects which implement theLockAware
trait Lock
instances can now call a list of resource ids to which they are allowed or denied to perform the given action on
- Massive refactor of the
Lock
andManager
classes - Moved interfaces to their own namespaces
- Refactored most of the testing suite
- Renamed the
AbstractPermission
class - ArrayDriverTest moved to the
Drivers
namespace - Split the
LockTestCase
intoPersistentDriverTestCase
andStaticDriverTestCase
- The
assert
method of conditions now get more parameters - Conditions can now be used as a callback
- Git ignored the
composer.lock
file
- Require
PHP >=5.4
in thecomposer.json
file - Various documentation fixes in
readme.md
First public alpha release.