I love @rbates CanCan ruby library for authorization. Was wondering if anything similar existed for python / flask ?
I guess there are three main requirements:
if current_user.can('post::edit')
or somethingOr, what is the one obvious way to do it? (PEP-20)
Current Options:
One year later, I ended up writing one:
https://github.com/jtushman/bouncer
https://github.com/jtushman/flask-bouncer
I recommend you keep an eye on Cork. Currently it's an authentication and authorization framework just for Bottle, but on the roadmap is Flask support. Pretty awesome.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With