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.
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?
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.
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! 😄