jonra1993 / fastapi-alembic-sqlmodel-async

This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.
MIT License
878 stars 142 forks source link

Question about Oso #57

Closed mateoradman closed 1 year ago

mateoradman commented 1 year ago

Hello,

first of all, I'd like to thank you for this useful project example. I find the codebase very neat. One thing that I noticed is that you're using Oso library for authorization but I don't see it being initialised anywhere in the Python codebase. Can you please point me to where you initialise Oso, load the main.polar file, and how do you use it in the project?

Thanks! 😄

jonra1993 commented 1 year ago

Hello, @mateoradman I really like that this project is useful for you. Sure my plan is to add some sample authz endpoints this is a current work in progress in future commits it will be implemented.