casbin/mongodb-adapter

Is a persist.BatchAdapter planed?

c14h3 opened this issue · 2 comments

c14h3 commented

Currently it's not possible to use addPolicies or removePolicies because of not providing a constructor for persist.BatchAdapter.

Will it be added in the future to the mongo-adapter, or is a BatchAdapter not planed?

@yyellowsun can you take this issue?

Currently it's not possible to use addPolicies or removePolicies because of not providing a constructor for persist.BatchAdapter.

Will it be added in the future to the mongo-adapter, or is a BatchAdapter not planed?

@Dodu17 It will be added in the future.I wil try to implement it this weekend.You can also make a PR to implement it.