Version 2.0.0
LmcRbac v2 is a major version upgrade with many major breaking changes that prevent straightforward upgrading.
Major changes
LmcRbac v2 is now based on Role and Rbac classes from laminas-permissions-rbac. All services have been updated to use these classes and interfaces.
Refer to #16 for details and rationale for version 2.
Namespace change
- The namespace has been changed from LmcRbac to Lmc\Rbac. Please review your code to replace LmcRbac namespace by Lmc\Rbac namespace.
Deprecations and removals
- LmcRbac\HierarchicalRole, LmcRbac\Role and LmcRbac\RoleInterface has been deleted. Use the equivalent classes from laminas-permissions-rbac instead.
- The factories for services have been refactored from the src/Container folder to be colocated with the service that a factory is creating. All factories in the src/Container has been deleted.
- The AssertionContainer class, interface and factory have been deprecated and replaced by AssertionPluginManager class, interface and factory.