Giter Site home page Giter Site logo

Comments (3)

SylvainEstevez avatar SylvainEstevez commented on September 26, 2024

Hi @lethak, thank you for the kind words and suggestions.

  1. Would you provide me with a practical example of your HRBAC needs, i.e. an example with somes users/roles/permissions? This will help me help you.
  2. Mixing whitelist and blacklist in the returnedAttributes is kind of evil because it leads to very confusing and/or contradicting settings in my experience. But again, would you provide me with a practical example so that I can assess your needs/possible solutions?
  3. I'm not against having the condition as a function, it could actually be great. Only issue is that this library makes it possible to store permissions in a database and storing functions would require to use eval() when returning from the database. I guess we could provide this functionality under an unsafe configuration flag 🤔

from access-control.

SylvainEstevez avatar SylvainEstevez commented on September 26, 2024

@lethak Should I close this issue?

from access-control.

lethak avatar lethak commented on September 26, 2024

Hi,
Sorry for the delay, my focus had to shift on other matters, I'll be back on it later, I think you can close this for now since I don't know when I will be back on this, and I'll probably end up creating another lib to handle all our cases anyway.

Thanks for your attention anyway, and sorry to have wasted your time.

from access-control.

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.