Closed visto9259 closed 2 months ago
LmcRbac v1 is not widely used (~7k installs). On the other hand, LmcRbacMvc is significantly more used (>200K installs).
The classes that were present in both LmcRbac and LmcRbacMvc are similar but also have significant differences such that a port 1 to 1 is not possible.
When there are significant differences, the LmcRbacMvc version will be prefered give that LmcRbacMvc is more widely used and its classes and methods are similar to other packages that provide RBAC functionality.
The other significant difference is the AssertionInterface
.
LmcRbac
version is more versatile than LmcRbacMvc
and will be preferred.
Use LmcRbacMvc
's AssertionPluginManager
to replace LmcRbac
's AssertionContainer
Deprecate AssertionContainer
and related interface
LmcRbac and LmcRbacMvc share a lot of code. It would be make to have LmcRbacMvc depend on LmcRbac to resuse its codes
For this to work: