Coder Social home page Coder Social logo

Problem with "not"-Filter about resource-server HOT 8 CLOSED

osiam avatar osiam commented on August 26, 2024
Problem with "not"-Filter

from resource-server.

Comments (8)

tkrille avatar tkrille commented on August 26, 2024

Here's an example by @sputnik27 that works: https://gist.github.com/fwilhe/5f29604ab7770e824969

The question is now: should we change the behaviour of the eq operator or should we create a new, custom operator called in?

from resource-server.

dacrome avatar dacrome commented on August 26, 2024

I like the custom operator in.

from resource-server.

wallner avatar wallner commented on August 26, 2024

can you give an example query for both options, so we are all clear what we are talking about?

from resource-server.

tkrille avatar tkrille commented on August 26, 2024

@wallner Something like:

groups eq "Department 1"
groups in "Department 1"

Or what do you mean?

from resource-server.

tkrille avatar tkrille commented on August 26, 2024

Ok: groups in "Department 1" reads odd, because of the obvious wrong order of operands. Maybe groups hasItem "Department 1" is more appropriate.

from resource-server.

tkrille avatar tkrille commented on August 26, 2024

The opposite would then be:

not (groups hasItem "Department 1")

But this reads kind of odd, too.

from resource-server.

tkrille avatar tkrille commented on August 26, 2024

Ok, this has been verified as a bug by the people of SCIM: http://www.ietf.org/mail-archive/web/scim/current/msg02497.html and the answer: http://www.ietf.org/mail-archive/web/scim/current/msg02498.html. This means, that we have to change every implementation of each operator. As we can only solve this issue by adding sub-selects, this could also lead to a slight performance degradation. @sschum @timopick @tpick What do you think?

from resource-server.

dacrome avatar dacrome commented on August 26, 2024

Moved to osiam/osiam#61

from resource-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.