jcasbin / shiro-casbin

Apache Shiro's authorization middleware based on Casbin
https://github.com/casbin/jcasbin
Apache License 2.0
6 stars 4 forks source link

Shiro Middleware Based on jCasbin #1

Closed soberich closed 3 years ago

soberich commented 5 years ago

Hi, What is the status and plan?

hsluoyz commented 5 years ago

Hi, we are collecting ideas about Shiro's plugin. In fact, we found it's also OK for Shiro users to directly shift to use jCasbin instead. As a Shiro user, what's your concern and focus for this project? I'd like to hear. Thanks.

hsluoyz commented 4 years ago

We want to have some progress on this one. @fangzhengjin @kingiw @DivyPatel9881 @hackerchai

nanxing7 commented 3 years ago

Jcasbin How to replace shiro

shy1st commented 3 years ago

@hsluoyz @fangzhengjin In version 0.0.1, maybe we can try to use RBAC & ABAC authorization on jcasin to replace the authorization on Shiro by writing the "if/else" authorization code or using annotations.We can try to get the current login user, and then use jcasin to judge whether the user has the specified permissions.What is your opinion?

hsluoyz commented 3 years ago

@shy1st great! I think it sounds reasonable for v0.0.1

shy1st commented 3 years ago

@hsluoyz OK,I will try to do that.