-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: port fastbin to casbin #318
Conversation
@Nekotoxin please review |
We can put a link to fastbin in readme. Users who are sensitive to performance can refer it to achieve their own model. |
Now I have two ideas:
class FastEnforcer(Enforcer):
def new_fast_model():
m = new FastModel
# ...
def enforce(self, *rvals):
if isinstance(self.model, FastModel ):
# ... |
@BustDot Let’s implement it in the second way for the time being. |
@leeqvip plz review |
# [1.28.0](v1.27.0...v1.28.0) (2023-09-16) ### Features * port fastbin to casbin ([#318](#318)) ([67537d6](67537d6))
🎉 This PR is included in version 1.28.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
@BustDot add this new feature to the docs page after: https://casbin.org/docs/superadmin |
Replace: #285