Error on UpdateFilteredPolicies *mongodbadapter.adapter is not persist.UpdatableAdapter: missing method UpdateFilteredPolicies
gabriele86 opened this issue · 3 comments
gabriele86 commented
When I try to call UpdateFilteredPolicies on *Enforcer, I get the following error:
panic: interface conversion: *mongodbadapter.adapter is not persist.UpdatableAdapter: missing method UpdateFilteredPolicies
Currently using:
"github.com/casbin/casbin/v2" v2.41.0
"github.com/casbin/mongodb-adapter/v3" v3.2.1
casbin-bot commented
@tangyang9464 @closetool @sagilio
Abingcbc commented
mongodb-adapter
didn't support to update policy yet. I will raise a PR to add this feature.