Open visto9259 opened 1 year ago
LmcRbacMvc shares about 80% of the code with LmcRbac.
I believe the original intent of LmcRbac was to provide RBAC and roles services without the extra MVC component to make it a lighter weight package.
I propose to have LmcRbacMvc use the LmcRbac library and only keep MVC related components in LmcRbacMvc (guards, views, redirect strategies, etc.)
Install statistics for LmcRbac show that it is not used very much (2k installs since creation).
Proposed enhancement:
In v3, the strategy to use to handle the Unauthorized Exception is not registered by default and one has to add the code in a Bootstrap event to add one of the built-in strategies or specify a custom strategy.
in v4, the strategy to use should be configurable in the lmc_rbac config array with the default being no strategy.
Adding #37 to the list of enhancements
Adding #39 to the list of enhancements
Adding #40 to the list of enhancements
Adding #44 to the list of selected enhancements
Adding #38 to the list of selectec enhancements
Are there any plans for when the new version will be released?
@FabianKoestring Probably end of August to have an alpha release with updated docs. Still a lot of work remaining to do.
Version 4 Plan - Features and Enhancements Roadmap
This is to document the enhancements, features and other changes to bring to LmcRbacMvc in a forthcoming version 4.
Rationale
LmcRbacMvc v3 is a port of ZF-Commons/ZfcRbac v2 to Laminas. ZfcRbac v2 was developed several years ago and was based on Zend Framework v2 and v3. The port of ZfcRbac to Laminas has not brought significant improvements or new features to the package. New frameworks based on Laminas MVC, such as Laminas API Tools have, come along and the Laminas Components have also evolved. It is long overdue to give it a serious upgrade.
LmcRbacMvc has been installed more than 100K times according to Packagist which is a good indication that the package has its usefulness in web application. We are looking for users of the package to provide inputs into the development roadmap for Version 4.
Process
v4
4.x
branch.Selected Enhancements
Proposed enhancements
Won't do
Move Doctrine Support to a separate library (#44)