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

Q: Casbin 1 vs 2 #236

Closed fubar-coder closed 2 years ago

fubar-coder commented 2 years ago

TL/DR: Should I use Casbin 1 or 2?

The latest update for V2 happened in 2021-08, while the latest V2 update just happened a couple of days ago and this poses some questions:

casbin-bot commented 2 years ago

@sagilio @xcaptain @huazhikui

sagilio commented 2 years ago
  1. v2 has released most of the planned features, the last feature is still under development (https://github.com/casbin/Casbin.NET/pull/230), we plan to release the RC branch next month.
  2. No, V2 still working, it is necessary for future development and has a lot of necessary refactorings.
  3. It not very plenty of public API changes from v1 to v2, here is a guide about it (https://github.com/casbin/Casbin.NET/wiki/Migrate-from-Casbin.NET-v1.x-to-v2.0).
fubar-coder commented 2 years ago

Thank you for your answer!