-
#### model.conf
```ini
[request_definition]
r = sub, dom, obj, act
[policy_definition]
p = sub, dom, obj, act
[role_definition]
g = _, _, _
[policy_effect]
e = some(where (p.eft == allo…
-
just like golang version
```go
e, err := casbin.NewEnforcer("model.conf", "policy.csv")
if err != nil {
log.Print(err.Error())
}
e.AddFunction("mydemo", KeyMatchFunc)
r := e.GetRoleMa…
-
See our user's requirement from Java: https://github.com/casbin/jcasbin/issues/174
-
See how we did it for jCasbin: https://github.com/casbin/jcasbin/issues/76
-
Required in: https://github.com/casbin/jcasbin/issues/185#issuecomment-831947838 by @imochurad
See how Golang implemented it: https://github.com/casbin/casbin/search?q=batchEnforce&type=issues , J…
-
-
Hello,
I am trying to do a POC on using ABAC via "jcasbin" and I am facing an issue related to the "eval" function. The eval function in the jcasbin library prior to the 1.7.1 version allowed using j…
-
I am trying to do a basic authorization by adding a policy and a grouping policy. However the api to addGroupingPolicy does not seem to work for me. Can someone help if there is an issue or am I doing…
-
Hello,
I am trying to do a POC on using ABAC via "jcasbin" and I am facing an issue related to the CSV Parsing of the policy. I am using the 1.8.1 version where the CSV Parser logic was changed (#158…
-
### problem
When using the following configuration, two error occurs.
1. Super administrator's authority is invalid when using priority matching
2. When using an adapter such as `jdbcAdapter`, …
shink updated
3 years ago