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