-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Precedence (brackets) seem to be ignored when parsing a filter like (ignore the non scim attributes):
expression := "( username eq \"test\" or request.path sw \"/finance\" ) and subject eq \"abc\""
Calling filter.ParseFilter([]byte(expression)) returns a filter.Expression result whose string value is:
username eq "test" or request.path sw "/finance" and subject eq "abc"
I have tried having spaces between brackets ("(") and content as well as no spaces.
I notice that the test does not actually validate the result, it just tests for no detected errors.
Metadata
Metadata
Assignees
Labels
No labels