casbin / Casbin.NET

An authorization library that supports access control models like ACL, RBAC, ABAC in .NET (C#)
https://casbin.org
Apache License 2.0
1.16k stars 111 forks source link

feat: change lazyLoadPolicy to AutoLoadPolicy. #295

Closed AsakusaRinne closed 1 year ago

AsakusaRinne commented 2 years ago

Change lazyLoadPolicy to AutoLoadPolicy to avoid ignore the filter when using filtered adapter. (partially solve #288 ).

Besides, it integrates the options into Enforcer.Options.

casbin-bot commented 2 years ago

@sagilio please review

AsakusaRinne commented 2 years ago

@sagilio Plz help to have a review ヾ(≧▽≦*)o

hsluoyz commented 2 years ago

@AsakusaRinne

sagilio commented 1 year ago

@AsakusaRinne plz check the new change request

AsakusaRinne commented 1 year ago

ok, I'll do it today. :)

AsakusaRinne commented 1 year ago

I've force-pushed the commit. Since the user may want to use Option to set all the properties, I assigned these properties which belongs to Enforcer to the original properties in EnforcerOption to enable it.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.0.0-preview.5 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: