satishviswanathan opened a new issue, #12889:
URL: https://github.com/apache/apisix/issues/12889
### Current Behavior
We are using authz-casbin for RBAC and we are seeing intermittent 403 errors
returned from casbin plugin.
Has anyone experienced this problem.
### Expected Behavior
Expected to consistently work without any intermittent 403 errors.
### Error Logs
_No response_
### Steps to Reproduce
1. Installed the above mentioned apisix version in K8s environment.
2. Configure multiple routes using authz-casbin plugin.
{
"_meta": {
"disable": false
},
"model": "[request_definition]\nr = sub, obj,
act\n\n[policy_definition]\np = sub, obj, act, eft\n\n[role_definition]\ng = _,
_, \n\n[policy_effect]\ne = some(where (p.eft == allow)) && !some(where (p.eft
== deny))\n\n[matchers]\nm = (g(r.sub, p.sub) || keyMatch(r.sub, p.sub)) &&
keyMatch2(r.obj, p.obj) && keyMatch2(r.act, p.act) \n",
"policy": "p, *, *, OPTIONS, allow\np, *, *, GET, allow\np, *, *, POST,
allow\np, *, *, PUT, allow\np, *, *,DELETE, allow\n",
"username": "APP-Group"
}
### Environment
- APISIX version (run `apisix version`): 3.13.0
- Operating system (run `uname -a`): Linux
apisix-data-plane-567765b759-6np8s 6.8.0-87-generic #88~22.04.1-Ubuntu SMP
PREEMPT_DYNAMIC Tue Oct 14 14:03:14 UTC 2 x86_64 GNU/Linux
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx
version: openresty/1.27.1.2 built with OpenSSL 3.4.1 11 Feb 2025
- etcd version, if relevant (run `curl
[http://127.0.0.1:9090/v1/server_info`):](http://127.0.0.1:9090/v1/server_info%60):)
3.6.0
- APISIX Dashboard version, if relevant: 3.0.1
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
3.12.0
Deployment architecture that needs to be mentioned: decoupled deployment
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]