amisadmin / fastapi-user-auth

FastAPI-User-Auth is a simple and powerful FastAPI user RBAC authentication and authorization library. Based on FastAPI-Amis-Admin and provides a freely extensible visual management interface.
319 stars 43 forks source link

fix: Close #24. Fix PostgreSQL IntegrityError in add_policies #34

Open Cactiw opened 5 months ago

Cactiw commented 5 months ago

When using PostgreSQL, an error occurred when creating casbin rules due to the "id": None parameter in the database request.

This PR closes #24.

Cactiw commented 5 months ago

Oh sry, it`s already fixed in https://github.com/amisadmin/fastapi-user-auth/pull/26 Anyway please merge one of them when you have time.