RFC
| Q |
A |
| Proposed Version(s) |
4.2.x |
| BC Break? |
No |
Goal
Priorities of strategy listeners are currently hard-coded.
Allow for priorities to be configurable with default values being set to the current hard-coded values.
Background
#172 provided a quick patch to fix priority issues for the UnAuthorizedStrategy that defaults to 1 which is the same priority as MVC's listeners to the MvcEvent::EVENT_DISPATCH_ERROR.
Considerations
- Modifying priority must be done after thoughtful consideration and a good understanding of how the
MvcEven is handled in the application.
- Documentation is needed to explain the impact
Proposal(s)
- Add a prority option to listener configurations in lmc_rbac config for strategy listener
- Update documentation to explain how to change priority and potential impacts
Appendix
RFC
Goal
Priorities of strategy listeners are currently hard-coded.
Allow for priorities to be configurable with default values being set to the current hard-coded values.
Background
#172 provided a quick patch to fix priority issues for the UnAuthorizedStrategy that defaults to 1 which is the same priority as MVC's listeners to the
MvcEvent::EVENT_DISPATCH_ERROR.Considerations
MvcEvenis handled in the application.Proposal(s)
Appendix