casbin-lua / kong-authz

Casbin authorization plugin for Kong
https://github.com/casbin/lua-casbin
Apache License 2.0
5 stars 5 forks source link

Question #23

Open chaitanya14 opened 1 year ago

chaitanya14 commented 1 year ago
  1. How wide is this plugin used ?
  2. Does casbin perform any caching ? If Yes, what is the time interval ?
  3. Does casbin take multiline string as arguments for enforcer initialization, instead of model and policy file paths ?
casbin-bot commented 1 year ago

@Edmond-J-A @rushitote @techoner

hsluoyz commented 1 year ago

@rushitote

rushitote commented 1 year ago
  1. I actually don't have any data related to this.
  2. No, we haven't implemented any time-based caching logic, so currently there isn't anything.
  3. Sadly again, no, we have the support for this in authz-casbin (the built-in Casbin based APISIX plugin) but there is nothing as of now in this plugin.