Code Monkey home page Code Monkey logo

Comments (5)

matteodem avatar matteodem commented on May 17, 2024

As of now you could use the Meteor.user() method in the query parameter (EasySearch.createSearchIndex). But this is also a work-around, which doesn't solve the problem.

I'd add a new parameter called permissions which can be used to make a security check on the server before any search operation is attempted.

What do you think?

from meteor-easy-search.

madsmao avatar madsmao commented on May 17, 2024

As long as such a parameter can only be modified on the server (even if the search method is available on the client), that would seem like a great solution.

from meteor-easy-search.

matteodem avatar matteodem commented on May 17, 2024

So, it's implemented now, https://github.com/matteodem/meteor-easy-search#createsearchindexname-options.

Please re-open if it doesn't work as desired

from meteor-easy-search.

WayneUong avatar WayneUong commented on May 17, 2024

@matteodem The reference link expired. Where can I find the latest url? Thanks

from meteor-easy-search.

matteodem avatar matteodem commented on May 17, 2024

here's the example http://matteodem.github.io/meteor-easy-search/docs/core/ and API reference is here http://matteodem.github.io/meteor-easy-search/docs/api-reference/

from meteor-easy-search.

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.