Zixuan Liu
Zixuan Liu
Customized function can expect what you envisioned. Please test it at https://casbin.org/en/editor. Add a "negativeMatcher" function, it returns `true` if `r.sub` equals "alice". ### Model ```js [request_definition] r = sub,...
@GopherJ You are right. I'll add my implementation to avoid circular link.
My implement, I just add `admin_admin` to `*` link . When calling `rm.GetRoles()`, call `matchingFunc` to match all role.
@arosenberg01 Your understanding is correct. For read-only policy use ` enforcer.LoadFilteredPolicy()`, I think it is great. Maybe `enforcer` unable to update policy correctly when use `filterAdapter`, something like: - insert...
yes. For ACL, We might need to consider incremental loading policy.
@FabianSellmann thanks for your report! `Sync` means that there is no asynchronous function in the matcher, your model includes the asynchronous function - `g()`, so `enforceSync` cannot be used in...
> @FabianSellmann thanks for your report! `Sync` means that there is no asynchronous function in the matcher, your model includes the asynchronous function - `g()`, so `enforceSync` cannot be used...
Is this synchronized with golang-casbin?
@Shivansh-yadav13 Any updates?
@Shivansh-yadav13 You look like push an incorrect commit, please check this PR.