Closed ZhengLin-Li closed 1 year ago
@sagilio @AsakusaRinne please review
@ZhengLin-Li These changes look good, and we may aslo need to upgrade the Casbin.NET to the latest valid version (2.0.0-preview.5).
SyncedEnforcer
is the thread-safe version defined in the old preview version of Casbin.NET package. We delete it because the default enforcer is already thread-safe at the new version.
This commit https://github.com/casbin-net/casbin-aspnetcore/commit/85ad73cca19ae59ff6fb94e2e1e67510bfbd4975 fixed this issue.
fix: https://github.com/casbin-net/casbin-aspnetcore/issues/55
fix: Cannot resolve symbol 'SyncedEnforcer'
Actually, there is no
SyncedEnforcer
class in this project. I have searched the keywordSyncedEnforcer
and let my IDE find them in files, and it turned out the keywordSyncedEnforcer
only appears three times.So, I believe this issue may be caused by some copy-paste problems. I will fix it in this PR.