You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
I have integrated zfc-rbac with Apigility. The issue is: Apigility authentication occurs at EVENT_ROUTE (priority -50) which is after the default priorty -5 of the RouteGuard so no identity is available for RouteGuard to do job. I read the docs and it says I can subclass to override EVENT_NAME or EVENT_PRIORITY which are class constants. To subclass RouteGuard I had to copy the RouteGuardFactory code which is not reusable at all. Is there any other way to override EVENT_PRIORITY constant or make it configurable? What is the logic behind making them const instead of protected variable?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have integrated zfc-rbac with Apigility. The issue is: Apigility authentication occurs at EVENT_ROUTE (priority -50) which is after the default priorty -5 of the RouteGuard so no identity is available for RouteGuard to do job. I read the docs and it says I can subclass to override EVENT_NAME or EVENT_PRIORITY which are class constants. To subclass RouteGuard I had to copy the RouteGuardFactory code which is not reusable at all. Is there any other way to override EVENT_PRIORITY constant or make it configurable? What is the logic behind making them const instead of protected variable?
The text was updated successfully, but these errors were encountered: