How to fix Error: cannot to save policy, the adapter does not implement the BatchAdapter
Casa-Cloud opened this issue · 0 comments
Casa-Cloud commented
Hello,
I am using following casbin and driver version
"casbin": "5.7.1"
"casbin-mongodb-adapter": "1.2.0"
I am trying to use batch method - addNamedPolicies('p', permissions);
I am getting following error while using this method
Error: cannot to save policy, the adapter does not implement the BatchAdapter
Can you please help me fix all the batch processing methods like addNamedPolicies(), RemoveNamedGroupingPolicies() issue in the adapter.