Performance feedback
outsource-zone opened this issue · 3 comments
outsource-zone commented
If there are many permission points, time out may occur. You are advised to add rules in batches.
leeqvip commented
PHP-Casbin provides some batch adding methods, such as:
Enforcer::addPolicies([...]);Please refer to: https://casbin.org/docs/management-api#addpolicies
outsource-zone commented
Oh, it's very useful to me. Thank you.
hsluoyz commented
@outsource-zone @leeqvip this issue can be closed