[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[X] Feature request
[X] Documentation issue or request
Current behavior
If I pass NgxPermissionsRouterData.only as permissions array I need to check if all of them are present. Now it checks only if at least one permission from the least is present
Expected behavior
If I pass NgxPermissionsRouterData.only as permissions array I need to check if all of them are present in the store
Minimal reproduction of the problem with instructions
Environment
Angular version: X.Y.Z
ngx-permissions version: X.Y.Z
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
I'm submitting a...
Current behavior
If I pass NgxPermissionsRouterData.only as permissions array I need to check if all of them are present. Now it checks only if at least one permission from the least is present
Expected behavior
If I pass NgxPermissionsRouterData.only as permissions array I need to check if all of them are present in the store
Minimal reproduction of the problem with instructions
Environment