Closed dviry closed 2 years ago
@sagilio @xcaptain @huazhikui
PS: currently I'm adding it dynamically to the Enforcer instance:
enforcer.AddFunction("globMatch", (string key1, string key2) => Glob.Parse(key2).IsMatch(key1));
@sagilio any comment?
@dviry can you make a PR?
Using Casbin.NET v1.11.0 - getting the following error when trying to use globMatch() as a matcher:
In the past I've used DotNet.Glob - can we integrate it as a built-in function?
Thanks in advance