jcasbin / jdbc-adapter

JDBC adapter for Casbin
https://github.com/casbin/jcasbin
Apache License 2.0
34 stars 38 forks source link

feature: JDBCAdapter doesn't implement the UpdatableAdapter interface #70

Closed hong6234 closed 6 months ago

hong6234 commented 7 months ago

What I do: Calling enforcer.updatePolicy(oldPolicyParams, newPolicyParams); to execute and save policy changes.

What to expect: Persist policy changes to the database.

What we get: Policy changes were not persisted to the database.

Requirement: It is hoped that JDBCAdapter will implement the UpdatableAdapter interface.

What is UpdatableAdapter?

Golang's code: (as reference)

casbin-bot commented 7 months ago

@tangyang9464 @imp2002