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

Make a Kong authorization plugin based on Casbin #1

Closed hsluoyz closed 3 years ago

hsluoyz commented 3 years ago

Kong is a very popular gateway in Lua: https://github.com/Kong/kong

They have a plugin system to support 3rd-party plugins. See some RBAC plugins:

  1. https://github.com/prabago/kong-plugin-jwt-auth-rbac
  2. https://github.com/danis24/kong-rbac
  3. https://konghq.com/blog/authorize-api-opa-kuma

We also need to make a Casbin plugin for Kong, and finally put our repo into the official plugin list: https://docs.konghq.com/hub/

hsluoyz commented 3 years ago

@rushitote

rushitote commented 3 years ago

Thanks, I will start working on this in a day or so.

hsluoyz commented 3 years ago

Basically usable now.