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
https://mvnrepository.com/artifact/org.casbin/casbin-spring-boot-starter
Apache License 2.0
196 stars 70 forks source link

Support all enforcers types in AutoConfiguration #101

Closed jay-babu closed 4 months ago

jay-babu commented 4 months ago

JCasbin officially supports DistributedEnforcer however there is no way to configure it with CasbinAutoConfiguration

https://github.com/casbin/jcasbin/blob/master/src/main/java/org/casbin/jcasbin/main/DistributedEnforcer.java

The ask is to support that enforcer via a properties. I can open a PR if this will be accepted

casbin-bot commented 4 months ago

@tangyang9464 @imp2002

hsluoyz commented 4 months ago

@jay-babu can you make a PR?

jay-babu commented 4 months ago

@hsluoyz https://github.com/jcasbin/casbin-spring-boot-starter/pull/102

github-actions[bot] commented 4 months ago

:tada: This issue has been resolved in version 1.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: