Skip to content
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

fixing groupNotAllowFilter #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

md-tfabi
Copy link
Contributor

There is a bug with response interceptor group property.
If you don't specify group, it all works, response interceptor used everywhere.
If you specify a single group, it still works, response interceptor used for that single group.
If you specify multiple groups, it doesn't work response interceptor never called.

The bug lies at the buildGroupNotAllowTest function, it has bad logic for this purpose.
Noticed that that is only used for response interceptors, so fixed with negating the actual buildGroupAllowTest function and removed the redundant code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant