Migration Guide
Migrating from ZF-Commons RBAC v3
The ZF-Commons Rbac was created for the Zend Framework. When the Zend Framework was migrated to the Laminas project, the LM-Commons organization was created to provide components formerly provided by ZF-Commons.
When ZfcRbac was moved to LM-Commons, it was split into two repositories:
- LmcRbacMvc contains the old version 2 of ZfcRbac.
- LmcRbac contains the version 3 of ZfcRbac, which was only released as v3.alpha.1.
To upgrade
- Uninstall
zf-commons/zfc-rbac:3.0.0-alpha.1
. - Install
lm-commons/lmc-rbac:~1.0
- Change
zfc-rbac.global.php
tolmcrbac.global.php
and update the keyzfc_rbac
tolmc_rbac
. - Review your code for usages of the
ZfcRbac/*
namespace toLmcRbac/*
namespace.