-
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…
-
The code below has a compilation error:
```go
e := echo.New()
e.Use(casbin_mw.Middleware(casbin.NewEnforcer("casbin_auth_model.conf", "casbin_auth_policy.csv")))
```
```bash
$ go build src/s…
-
The following was created by casbin-dashboard in Postgres:
```
casbin=# select * from casbin_rule;
p_type | v0 | v1 | v2 | v3 | v4 | v5
--------+-------+-------+-------+----+----+----
…
-
**Want to prioritize this issue? Try:**
[![issuehunt-to-marktext](https://github.com/BoostIO/issuehunt-materials/raw/master/v1/issuehunt-button-v1.svg)](https://issuehunt.io/r/casbin/casbin)
---…
-
I'm trying to handle the `Adapter` trait from the main repo.
This is a sample function in the golang version of casbin-server (grpc) -
```go
func (s *Server) NewEnforcer(ctx context.Context, in *pb…
-
### Role Based Auth: Feature Discussion
Given some of my feature plans, and the fact that people appear to be deploying local-ai in multi-user scenarios already, I'd like to implement Role Based Au…
-
Currently, the official Docker image for Casbin-Server is only provided for the linux/amd64 architecture. However, the linux/x86_64 architecture is more widely used and would greatly benefit a larger …
-
//model
**
[request_definition]
r = sub, obj, act
[policy_definition]
p = sub, obj, act
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = g(…
-
I am trying to draft the `new_enforcer`, which is as below:
```rust
async fn new_enforcer(
&self,
i: Request,
) -> Result {
let mut a: Option = None;
let …
-
Checklist:
* [x] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
* [x] I've included steps to reproduce the bug.
* [x] I've pasted the output of `argocd version`.
…