-
For now, Casbin is mainly a library, or sometimes as a service. It also can be a CLI tool. So we can call jCasbin in shell.
At least, we need to support basic model, adapter, enforcer APIs this tim…
-
We already have managed Casbin APIs: https://casdoor.org/docs/permission/exposed-casbin-apis but the APIs that can be used are limited. It uses embedded Casbin Go library.
Now we can add a new Casd…
-
Refer to: https://github.com/pycasbin/async-sqlalchemy-adapter/issues/1#issuecomment-1161534999
-
Hello,
I've noticed that when the middleware returns a 403 Forbidden response, it only returns a plain text response:
```
"Forbidden"
```
However, in many cases, it would be preferable if the…
-
PyCasbin can be used in: https://github.com/dpgaspar/Flask-AppBuilder/search?q=auth
-
File "/data/.../kubeconfig_management/venv/lib/python3.10/site-packages/casbin_adapter/apps.py", line 12, in ready
initialize_enforcer(db_alias)
File "/data/.../kubeconfig_management/venv/li…
-
For now, Casbin is mainly a library, or sometimes as a service. It also can be a CLI tool. So we can call jCasbin in shell.
At least, we need to support basic model, adapter, enforcer APIs this tim…
-
Hi,
I belive sample code shoud be based on AsyncEnforcer not Enforcer.
e = casbin.AsyncEnforcer('path/to/model.conf', adapter)
with Enforcer I receive following error:
File "...venv/lib/py…
-
I would like to have automatic tests to prevent bugs like #1457.
Ideally there would be a test that iterates over all roles in the platform, tries to access all endpoints with all roles and checks th…
-
The following was created by casbin-dashboard in Postgres:
```
casbin=# select * from casbin_rule;
p_type | v0 | v1 | v2 | v3 | v4 | v5
--------+-------+-------+-------+----+----+----
…