Casbin.NET icon indicating copy to clipboard operation
Casbin.NET copied to clipboard

feat: change lazyLoadPolicy to AutoLoadPolicy.

Open SanftMonster opened this issue 3 years ago • 1 comments

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

Besides, it integrates the options into Enforcer.Options.

SanftMonster avatar Sep 19 '22 08:09 SanftMonster

@sagilio please review

casbin-bot avatar Sep 19 '22 08:09 casbin-bot

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

SanftMonster avatar Oct 03 '22 16:10 SanftMonster

@AsakusaRinne

hsluoyz avatar Oct 04 '22 13:10 hsluoyz

@AsakusaRinne plz check the new change request

sagilio avatar Oct 14 '22 22:10 sagilio

ok, I'll do it today. :)

SanftMonster avatar Oct 15 '22 03:10 SanftMonster

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.

SanftMonster avatar Oct 15 '22 13:10 SanftMonster

: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] avatar Jan 06 '23 07:01 github-actions[bot]

: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] avatar Jul 25 '23 19:07 github-actions[bot]

: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] avatar Jul 25 '23 20:07 github-actions[bot]