Closed doctormacky closed 2 years ago
@tangyang9464 @seriouszyx @elfisworking @fangzhengjin
@seriouszyx can you take a look?
@doctormacky The isFilter
value has been set as false in https://github.com/jcasbin/casbin-spring-boot-starter/pull/58.
Resolved.
When we try to run the springboot, it will not load existing policy from database. that means the poliicy in memoy of the appliication are empty, this should not work as expected.
from my understanding, the adapter should load all the policy from database during the initial phase of application. Suggest we set following attribute in JdbcAdapter from true to false as default.
private volatile boolean isFiltered = false ;
Any idea ?