-
The class StringAdapter in module `casbin.persist.adapters.string_adapter` does not appear to be useable because of a missing import statement in `casbin.persist.adapters.__init__.py`.
Steps to rep…
-
https://github.com/casbin/gorm-adapter/blob/3d3a3c755df913a52c7077694c4b33f175a37894/adapter.go#L719-L725
https://github.com/casbin/gorm-adapter/blob/3d3a3c755df913a52c7077694c4b33f175a37894/adapte…
-
Hi Team, we have been using casbin framework with redis adapter in fastapi application. We have used redis watcher to synchronising casbin policies across the pods. But watcher is disconnecting from s…
-
I am integrating the adapter with `fastify-casbin`.
When creating a unit test for the adapter I get the error _"PrismaClientInitializationError: error: Environment variable not found: DATABASE_URL.…
-
Package installation failed with error message (using old mongodb@4.9.0 dependency):
`$ npm install --save casbin-mongodb-adapter`
> $ npm install --save casbin-mongodb-adapter
npm ERR! code ER…
-
## Description of the Bug
The `deleteRoleForUser` function is not working, and it keeps on returning `false`.
The user is assigned a role called `MyRole`, which can be validated using `getRolesF…
-
In `core_enforcer.dart`, the type of the adapter is checked using `adapter.runtimeType == FilteredAdapter`, which would expect an exact match of `FilteredAdapter`, however `FilteredAdapter` is an abst…
-
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…
-
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 Team,
We have been using RBAC with domine model and redis adapter. I have tried get_ all_roles_by_domine, but it is not working. May I know how to get below information.
1) Roles in the d…