Comments (3)
Hi @lethak, thank you for the kind words and suggestions.
- 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.
- 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? - 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 useeval()
when returning from the database. I guess we could provide this functionality under anunsafe
configuration flag 🤔
from access-control.
@lethak Should I close this issue?
from access-control.
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)
- Better way to accept null values HOT 3
- Can't install this from yarn HOT 3
- Extending Roles? HOT 7
- Validate resource in addPermissionToRole
- NPM detected vulnerability HOT 2
- Multiple conditions in one statement HOT 3
- Multiple to Multiple condition HOT 1
- Keys.filter() will not filter out an object property that equals an empty object. HOT 4
- Attach more data besides returnedAttributes to permissions HOT 1
- Dependencies due for update HOT 1
- forAnyValueIfExists should pass if environment doesn't have the key
- PermissionEffect type conflict HOT 5
- Fix vulnerabilities HOT 1
- forAllValuesIfExists doesn't pass for env value `null` HOT 4
- Value Associated with Role? HOT 2
- Would this PR be welcomed here? HOT 1
- lodash version bump? HOT 2
- Probably the cleanest repo i've ever seen. Love the use of emojis :) HOT 1
- No Doc for Persistence Layer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from access-control.