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

feat: Add priority sort with subject hierarchy. #259

Closed AsakusaRinne closed 2 years ago

AsakusaRinne commented 2 years ago

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

What does it solve

It sync the feature of golang version which is described here.

What does it change

It add a new EffectType named "PriorityAllOverride" and some new methods. The way of implementation needs to be optimized.

casbin-bot commented 2 years ago

@sagilio @xcaptain @huazhikui please review

casbin-bot commented 2 years ago

@sagilio @xcaptain @huazhikui please review

AsakusaRinne commented 2 years ago

It's a draft PR and has not been well implemented yet. Though it could pass the existing test cases, the way to implement it needs to be optimized. Of course, thank you for any advice if you'd like to review it now.

github-actions[bot] commented 1 year ago

: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] commented 12 months ago

: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] commented 12 months ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: