Skip to content

[RFC]: Allow for stategy listener priority to be configurable #174

Description

@visto9259

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions