casbin / jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java
https://casbin.org
Apache License 2.0
2.38k stars 461 forks source link

Add globMatch pattern #121

Closed nodece closed 3 years ago

nodece commented 3 years ago

The glob pattern is most welcome, we need to add a name called globMatch to the model to call this pattern.

Can anyone add the globMatch to jCasbin?

hsluoyz commented 3 years ago

I think we can add this.

hsluoyz commented 3 years ago

@shy1st you can copy the implementation of Golang Casbin: https://github.com/casbin/casbin/pull/397

shy1st commented 3 years ago

@hsluoyz Thanks, I will fix this issue.