Closed shayura closed 1 year ago
@sagilio @xcaptain @huazhikui
same question +1
@AsakusaRinne @sagilio
@gsw945 @shayura You can refer to this to integrate the adapter on the current version.
We are trying a friendlier way to integrate it, like this: https://github.com/casbin-net/casbin-aspnetcore/blob/e73d261e15580d120e19da99ddc9c13bb2a30389/src/Casbin.AspNetCore.Core/DefaultEnforcerProvider.cs#L53-L58
@AsakusaRinne plz work on this
@AsakusaRinne plz work on this
It's on process now. I would submit a PR depending on this PR for efcore-adapter
@shayura We have added a sample which integrates it with efcore-adapter
(in samples/WebApplicationWithEfcoreSample
). Does it get the point of what you need?
Closed as resolved
As it stands now, the only implementation of
IEnforcerProvider
inside this package, i.e.DefaultEnforcerProvider
, does not integrate with Casbin EFCore Adapter.Would you consider adding a
ICasbinAuthorizationPolicyProvider
compatible with the EFCore Adapter?