New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redirectTo is not working for children routes. #69
Comments
@rajguru827 Thats probably you are using lazy routes. ITs better to use https://github.com/AlexKhymenko/ngx-permissions/wiki/Usage-with-routes#can-load-guard |
I tried using lazy routes still it's not working..facing the same problem. |
@rajguru827 Can You show what you wrote ? |
|
@rajguru827 I will try to create reproduction. It will take some time. |
@rajguru827 i faced the same problem: While defining a role and its permissions i was just calling addRole method, which caused the same problem, later on i have called loadPermissions method just before the addRole method having same permissions, whcih resolved the issue.
Hope using this will resolve you problem as well. |
@rajguru827 Do you still need help? |
same issue |
I using the shared module with lazy loading of modules. While I am importing my shared module in all modules and *ngxPermissionsOnly is working is fine.
The text was updated successfully, but these errors were encountered: