You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: interface conversion: *gormadapter.Adapter is not persist.UpdatableAdapter: missing method UpdatePolicies
in version v2.25.2
its work for me in v2.21.0
thanks
The text was updated successfully, but these errors were encountered:
@saeedgeek Can you share both the working and non-working versions of your code so that I can track the error.
Also @hsluoyz , have you implemented the UpdatePolicy() and UpdatePolicies() API, because it is mentioned in docs but what I found was func (a *Adapter) UpdatePolicy(sec string, ptype string, oldRule, newPolicy []string) error { return errors.New("not implemented") }
for UpdatePolicy and func (a *Adapter) UpdatePolicies(sec string, ptype string, oldRules, newRules [][]string) error { return errors.New("not implemented") }
for UpdatePolicies in latest version. And UpdatePolicies was missing in v2.21.0
panic: interface conversion: *gormadapter.Adapter is not persist.UpdatableAdapter: missing method UpdatePolicies
in version v2.25.2
its work for me in v2.21.0
thanks
The text was updated successfully, but these errors were encountered: