tonyseek / simple-rbac Goto Github PK
View Code? Open in Web Editor NEWA simple role based access control utility for Python.
License: MIT License
A simple role based access control utility for Python.
License: MIT License
Hey @tonyseek
Awesome library, I was curious about how I should go about deleting a role assigned to a user.
Cheers
Hi @tonyseek
The last release i.e. 0.1.1 was on June 10, 2012. I see there are some recent commits regarding Python3 compatibility. I am reaching out to you to find out whether you have any plans of releasing 0.1.2 anytime soon (available in pypi)?
Thank you,
Sangeeth
The Simple RBAC library has only a quick guide at current stage, which is simple but not complete. I hope to give it a detail document. This plan will be implemented in this summer holiday.
用了一下你的这个工具,发现一个问题:
我一开始为一个角色allow了一系列的rule,在程序里我deny了某一个rule,然后我又allow了这个rule。
结果check_permission返回False。
我希望能在allow某个rule的时候,如果该rule曾经被deny过了,那么将其从_denied字典中移除。
This project uses a static defination to find parent relationship of roles and resources. That way is hard to handle a situation that a role or a resource has a dynamic parents getter.
Currently my solution is using a proxy class to register parent defination rules implicatly. But this way is ugly and broken the Zen of Python.
I have a plan to refactor the role model and resource model, give them a flexible way to use more dynamic rules.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.