ngx-permissions icon indicating copy to clipboard operation
ngx-permissions copied to clipboard

Invalid redirection with Object as redirectTo property

Open tilowestermann opened this issue 4 years ago • 0 comments

I'm submitting a...


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

Current behavior

Having a redirectTo property with an object breaks permission checks. See provided Stackblitz demo

Expected behavior

Permissions should be checked properly.

Minimal reproduction of the problem with instructions

https://stackblitz.com/edit/angular-ivy-qscohb

Environment


Angular version: 8, 10
ngx-permissions version: 7.0.3


Browser:
- [x] Chrome (desktop) version (current)
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [x] Edge version (current)

tilowestermann avatar Jul 06 '20 08:07 tilowestermann