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.13k stars 110 forks source link

feat: add keyGet3 and correponding test. #291

Closed AsakusaRinne closed 1 year ago

AsakusaRinne commented 1 year ago

Add keyGet3 and corresponding test. It's a feature synced with this PR of go version.

BTW, it move the regex of keyGet2 to the static readonly variable of the class.

casbin-bot commented 1 year ago

@sagilio please review

AsakusaRinne commented 1 year ago

This feature is supposed to be submitted to preview branch, as shown in #294 . This PR will be closed.

hsluoyz commented 1 year ago

Replaced by: https://github.com/casbin/Casbin.NET/pull/294