LM-Commons / LmcRbacMvc

Role-based access control Laminas MVC module to provide additional features on top of Laminas\Permissions\Rbac
https://lm-commons.github.io/LmcRbacMvc/
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Version 4 Plan - Features and Enhancements Roadmap #33

Open visto9259 opened 1 year ago

visto9259 commented 1 year ago

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

Selected Enhancements

Proposed enhancements

Won't do

visto9259 commented 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).

visto9259 commented 1 year ago

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.

visto9259 commented 1 year ago

Adding #37 to the list of enhancements

visto9259 commented 7 months ago

Adding #39 to the list of enhancements

visto9259 commented 7 months ago

Adding #40 to the list of enhancements

visto9259 commented 7 months ago

Adding #44 to the list of selected enhancements

visto9259 commented 7 months ago

Adding #38 to the list of selectec enhancements

FabianKoestring commented 1 month ago

Are there any plans for when the new version will be released?

visto9259 commented 1 month ago

@FabianKoestring Probably end of August to have an alpha release with updated docs. Still a lot of work remaining to do.