pycasbin icon indicating copy to clipboard operation
pycasbin copied to clipboard

[feature] support CLI usage for PyCasbin (Casbin for Pycasbin)

Open hsluoyz opened this issue 2 weeks ago • 1 comments

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 time: https://casbin.org/docs/model-storage, https://casbin.org/docs/policy-storage

Refer to:

  • https://www.openpolicyagent.org/docs/latest/cli/
  • https://docs.cerbos.dev/cerbos/latest/cli/index.html

Similar to:

  • Go: https://github.com/casbin/casbin/issues/1414
  • Java: https://github.com/casbin/jcasbin/issues/400

hsluoyz avatar Jun 16 '24 08:06 hsluoyz