Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
loved3d opened this issue Feb 21, 2024 · 0 comments
Open

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

loved3d opened this issue Feb 21, 2024 · 0 comments

Comments

@loved3d
Copy link

loved3d commented Feb 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant