FilteredPolicy for JdbcAdapter
doandung2701 opened this issue · comments
With large dataset policy in database, JdbcAdapter need implement FilteredPolicy method allow load dynamic policy based on user
@doandung2701 do you mean this repo? https://github.com/jcasbin/jdbc-adapter or still this Springboot starter repo?
@hsluoyz I want this repo. Because i am using spring-boot with this repo
I will deal with this problem after JCasbin adjusts the FilteredAdapter interface.
Wait for: casbin/jcasbin#107
I will deal with this problem after JCasbin adjusts the FilteredAdapter interface.
@fangzhengjin the PR: casbin/jcasbin#116 is merged. FilteredAdapter interface is already added. I think we can fix this issue now?
I think we should add the missing functions of of FilteredAdapter interface like loadFilteredPolicy()
and isFiltered()
to the JdbcAdapter class here: https://github.com/jcasbin/casbin-spring-boot-starter/blob/master/src/main/java/org/casbin/adapter/JdbcAdapter.java
Version 0.0.10 has been released.
@fangzhengjin will 0.0.10 be added to Maven Central? Looks like it is still at 0.0.9 there.
@fangzhengjin can we release 0.0.10 to Maven? https://search.maven.org/artifact/org.casbin/casbin-spring-boot-starter
@hsluoyz When Bintray synchronizes to Maven Central, it prompts: Failed to close repository: orgcasbin-1059. Dropping existing partial staging repository.
@barnesm999 @fangzhengjin I think v0.0.10 is already pushed to Maven Central: https://search.maven.org/artifact/org.casbin/casbin-spring-boot-starter/0.0.10/jar