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.
338 stars 43 forks source link

postgreSQL数据库查看角色管理报错 #37

Open loved3d opened 7 months ago

loved3d commented 7 months ago

用postgreSQL数据库,查看角色管理报错。 原因是 fastapi_user_auth\auth\models.py内第99行 ,CasbinSubjectRolesQuery里用了GROUP_CONCAT方法,postgreSQL不支持该方法,需要替换为string_agg