AlexKhymenko / ngx-permissions

Permission and roles based access control for your angular(angular 2,4,5,6,7,9+) applications(AOT, lazy modules compatible
MIT License
936 stars 126 forks source link

[feaure] - NgxPermissionsGuard - implement "canMatch" #216

Closed joelghill closed 1 year ago

joelghill commented 1 year ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[x ] Feature request
[ ] Documentation issue or request

Angular has a new route guard introduced in Angular 14 called canMatch that is likely going to replace canLoad. It would be great of the ngx-permissions library had this implemented since it looks like an incredibly useful guard.


Angular version: 15.2.0
ngx-permissions version: 14.0.0            
AlexKhymenko commented 1 year ago

@joelghill This feature will be implemented. Just need some free time

AlexKhymenko commented 1 year ago

Available in new release 14.1.0