Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4 Plan - Features and Enhancements Roadmap #33

Open
visto9259 opened this issue Mar 10, 2023 · 9 comments
Open

Version 4 Plan - Features and Enhancements Roadmap #33

visto9259 opened this issue Mar 10, 2023 · 9 comments
Assignees
Labels
v4 To be implemented in version 4

Comments

@visto9259
Copy link
Member

visto9259 commented Mar 10, 2023

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

  • Comment on this issue if you want to add an enhancement or a feature to be included in Version 4.
  • Issues will be created for enhancements/features selected for inclusion in V4 and will be added to the development Backlog and will be labeled as v4
  • Development toward V4 will be done on the 4.x branch.
  • A GitHub project for LmcRbacMvc was created and issues to be added to the project so that progress can be managed
  • Issues will be assigned to contributors

Selected Enhancements

Proposed enhancements

Won't do

@visto9259 visto9259 added the v4 To be implemented in version 4 label Mar 10, 2023
@visto9259 visto9259 pinned this issue Mar 10, 2023
@visto9259
Copy link
Member Author

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
Copy link
Member Author

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 visto9259 self-assigned this Jul 11, 2023
@visto9259
Copy link
Member Author

Adding #37 to the list of enhancements

@visto9259
Copy link
Member Author

Adding #39 to the list of enhancements

@visto9259
Copy link
Member Author

Adding #40 to the list of enhancements

@visto9259
Copy link
Member Author

Adding #44 to the list of selected enhancements

@visto9259
Copy link
Member Author

Adding #38 to the list of selectec enhancements

@FabianKoestring
Copy link

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

@visto9259
Copy link
Member Author

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

@visto9259 visto9259 added this to the 4.0.0 milestone Aug 13, 2024
@visto9259 visto9259 removed this from the 4.0.0 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4 To be implemented in version 4
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants