denggj28
denggj28
after 3 years, the issue still exists :sweat: @lehni do you have any solution?
> @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 policy within another...
@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.
@PokIsemaine thanks for your reply. I think there is not easy to resolve this issue. In general, transaction requires the same context, but Adapter interface does not support it. And...