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: fix null value handling logic #337

Closed dacongda closed 8 months ago

dacongda commented 8 months ago

I change the way to judge if a string is null , but i'm not sure will it cause other bug this pr may be a temporary solution for issue #335 it will be better to rewire class Policy

Fix: https://github.com/casbin/Casbin.NET/issues/335

casbin-bot commented 8 months ago

@sagilio please review

CLAassistant commented 8 months ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 8 months ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: