Skip to content

Commit

Permalink
Updated UPGRADE.md. Rename the config.global.php to lmcrbac.global.php
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Richer [email protected] <[email protected]>
  • Loading branch information
visto9259 committed Jul 11, 2024
1 parent 542e893 commit e146b1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

## From ZfcRbac v3 to LmcRbac v1

The ZF-Commons orgnisation has been moved to Laminas-Commons and ZfcRbac has been split into two repositories.
The ZF-Commons organisation has been moved to LM-Commons and ZfcRbac has been split into two repositories.

- [LmcRbacMvc](https://github.com/Laminas-Commons/LmcRbacMvc) contains the old version 2 of ZfcRbac.
- [LmcRbacMvc](https://github.com/LM-Commons/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 `laminas-commons/lmc-rbac:^1.0`
- Install `lm-commons/lmc-rbac:^1.0`
- Change `zfc-rbac.global.php` to `lmc-rbac.global.php` and update the key `zfc_rbac` to `lmc_rbac`.
- Review your code for usages of the `ZfcRbac/*` namespace to `LmcRbac/*` namespace.

Expand Down
2 changes: 1 addition & 1 deletion config/config.global.php → config/lmcrbac.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* It must be an array that contains configuration for the role provider.
* The default Role Provider is 'LmcRbac\Role\InMemoryRoleProvider'
*
* Supported options depend of the role provider, so please refer to the official documentation
* Supported options depend on the role provider, so please refer to the official documentation
*
* The provider config for InMemoryRoleProvider must follow the following format:
*
Expand Down

0 comments on commit e146b1c

Please sign in to comment.