Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Problem with "not"-Filter #247

Closed
sschum opened this issue Sep 30, 2014 · 2 comments
Closed

Problem with "not"-Filter #247

sschum opened this issue Sep 30, 2014 · 2 comments

Comments

@sschum
Copy link
Contributor

sschum commented Sep 30, 2014

It seams that is a bug in the filter mechanism. Even if I use the "not" filter, the result is not that what I would expect!

For example:

  1. I want to search all users that are NOT included in a given group. Than I want to use the following filter: not(groups eq "<groupId>")
  2. I want to search all groups in which is the user NOT a member. Than I want to use the following filter: not(members eq "<userId>")

In the following I have create a little JUnit-Test-File. In there the use-cases demonstrated.
EDIT: here is the gist-link: https://gist.github.com/sschum/ad6a09a2e70ae95ad1ce

@sschum sschum added the bug label Sep 30, 2014
@dacrome
Copy link
Member

dacrome commented Sep 30, 2014

I will check this bug. Thanks for sharing!

...and please post your example code next time in a gist and copy the link here :) or you open a PR to the integration-tests of OSIAM for easy verify :) thank you!

@tkrille tkrille added this to the v1.3 milestone Oct 2, 2014
@tkrille tkrille assigned tkrille and dacrome and unassigned tkrille and dacrome Oct 2, 2014
@tkrille tkrille removed this from the v1.3 milestone Oct 17, 2014
@tkrille
Copy link
Member

tkrille commented May 13, 2015

Moved to osiam/resource-server#7

@tkrille tkrille closed this as completed May 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants