-
I'm using latest version `1.27.0` of jcasbin and postgres db, so adapter supports batchUpdate.
I was struggling with concurrent update of policies.
I've just realised that `SyncedEnforcer` has no …
-
I'm using `org.casbin:casbin-spring-boot-starter:0.4.2` and `org.casbin:jcasbin:1.27.0`.
Synchronisation over redis is enabled: useSyncedEnforcer: true.
The policies is stored in postgres db.
The…
-
I searched for the use of guava in the jcasbin code and found only in used in Util.java. Only used for md5 encryption
https://github.com/casbin/jcasbin/blob/a21b2199bcd1199a66aebf7e86930b2218dfacd1…
-
Due to historical reasons, [casbin-spring-boot-starter](https://github.com/jcasbin/casbin-spring-boot-starter) has written its own adapter and watcher, which is not unified with the official one, whic…
-
Spring Boot:v2.2.2.RELEASE
OpenJDK:
```java
openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
```
WARNING:
```java
W…
-
Model:
```ini
[request_definition]
r = sub, obj, act
r2 = sub, obj, act
[policy_definition]
p = sub, obj, act
p2 = sub_rule, obj, act, eft
[role_definition]
g = _, _
[policy_effect]
…
-
Hi there,
I have a question about the "hasRole" method implementation here: https://github.com/casbin/jcasbin/blob/master/src/main/java/org/casbin/jcasbin/rbac/DomainRoles.java#L37-L43
Here is t…
-
I am checking java API and I do not seem to find a way to fetch all objects of a particular type that a user has access to.
Say, I am implementing an API (not necessarily a REST-based) that is supp…
-
In the process of development and communication, some issues for jCasbin still needed to be addressed. I would like to focus on these during GSoC '22 if I have the opportunity to attend.
## Addit…
-
i got some trouble ,my model is :
```ini
[request_definition]
r = sub, tenant, resource, obj, act
[policy_definition]
p = sub, tenant, resource, obj, act, eft
[role_definition]
g = _, _, …