Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

I am running into this error: https://github.com/casdoor/casdoor/issues/2449

No matter what I do. When I create a new permission and set the adapter, it always sets the rules in the permission_rule table and does not create the new table. Is there a config setting that I am missing for this?

This is only explicitly happening when running casdoor in a docker container. When I run it locally, it works as expected with the same config, when i pull the repo and run locally.

2views
2users
1 minread

maybe DB permission issue? do you have permission to create table in your mysql?

We are using Postgres. It does have permission because it creates the new tables when I create an adapter.

For another debug context: I used the same database with the same config running locally and it worked.

you should just create a github issue with full steps to reproduce

I believe there is an issue already that was closed, would you prefer a new one or use the existing one?

that's a 2023 year issue, bro. That's too old

You should not even read that. Treat as it doesn't exist

Casdoor's whole code base has even be rewritten twice after 2 years, you talk with me for a 2 year ago issue

1 / 7
Mar 2025