SiLe Zhou
SiLe Zhou
@ltp217 Casbin provides various database adapters, and some provide transaction functionality. adapter list: https://casbin.org/zh/docs/adapters For example https://github.com/casbin/gorm-adapter
> > @ltp217 Casbin provides various database adapters, and some provide transaction functionality. adapter list: https://casbin.org/zh/docs/adapters For example https://github.com/casbin/gorm-adapter > > I found all of adapters does not support add/update/delete...
> @PokIsemaine maybe you misunderstood me. I want to manage users or roles in a transaction, and manage policies in another transaction(adapter). so, there are nested transactions. Thanks for the...
@JoshSharpe I tried to copy your model and policy, but the results are not consistent with yours. Are you sure that the model you provided is the same as the...
Regarding the model, if you don't need a domain, you can use `g =_,_` instead of changing the meaning of `g =_,_,_`.
@JoshSharpe There are some differences in matchers. The model provided in issues(I copied it) ``` m = g(r.sub, p.sub, obj) && keyMatch2(obj == obj) && r.act == p.act ``` The...
@JoshSharpe I've drawn some diagrams that I hope can help you  An explanation of why the following result is `true,` ```golang e, err := casbin.NewEnforcer("model.conf", "policy.csv") if err !=...
@JoshSharpe I'm sorry for the delay in responding. This issue is quite complicated for me. I cannot directly say whether this is a bug or intended behavior. I think your...
Looking forward to your updates and wishing you good progress. I will also be paying attention to this part recently.
@JoshSharpe It seems like a good approach. Do you expect `e.GetDomainsForUser("alice")` to only return `org` of type `organization` and not `org1/f32fg545` of type `workspace`? In fact, APIs like `GetDomainsForUser` don't...