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 two route guards - role and permission based.
I already have the role guards setup with a default DENY policy, but with two guards it doesn't make sense to have them both denying, I would like the be able to make permissions ALLOW by default.
The text was updated successfully, but these errors were encountered:
@bakura10 I was able to achieve this with the below (not a real life example), but it's a bit hacky. Essentially my permission route guard has a wildcard which affects any routes not mentioned above this. That way, the role guard operates in DENY mode, whereas the permission guard operates in a pseudo ALLOW mode
I have two route guards - role and permission based.
I already have the role guards setup with a default DENY policy, but with two guards it doesn't make sense to have them both denying, I would like the be able to make permissions ALLOW by default.
The text was updated successfully, but these errors were encountered: