jcasbin / casbin-spring-boot-starter

Spring Boot 2.x & 3.x Starter for Casbin, see example at: https://github.com/jcasbin/casbin-spring-boot-example

Home Page:https://mvnrepository.com/artifact/org.casbin/casbin-spring-boot-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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.

@hsluoyz When Bintray synchronizes to Maven Central, it prompts: Failed to close repository: orgcasbin-1059. Dropping existing partial staging repository.