osohq / gitclub

Realistic examples of using Oso in an application for authorization. Built for multiple different backends.
54 stars 16 forks source link

new python backend #18

Closed cofinalsubnets closed 2 years ago

dhatch commented 2 years ago

This backend also uses SQLAlchemy, so we might want to come up with a way to explain the difference between the two. I would expect users of SQLAlchemy to use the flask-sqlalchemy backend as an example. If someone doesn't use SQLAlchemy and uses another ORM, they might use this as an example of how to use the new data filtering API with their own ORM.

dhatch commented 2 years ago

Also should add to the README in this new backend explaining how to run, and an entry for it in the top level readme.

cofinalsubnets commented 2 years ago

Alright everyone thanks for the review, I think I addressed all the issues now. We'll have to update the other backends to make sure they 403 in the right places though.