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

Store policy text in the policy values instance #269

Closed sagilio closed 2 years ago

sagilio commented 2 years ago

There are l lot of repeatedly converting the policy rule to text in the code path. Since the policy is read-only, we can actually make it easy to singleton its text.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved 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 issue has been resolved 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 issue has been resolved in version 2.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: