casbin-mesh
casbin-mesh copied to clipboard
allow for own matcher function
Hello,
I would like to add my own mqttMatcher. How can I add my own function to the enforcer with casbin-mesh?
Thanks
Originally posted by @call-me-matt in https://github.com/casbin/casbin-mesh/discussions/71
@WenyXu @nodece @noneback
This is hard to generate a function at runtime and register that to casbin.
Do you know how to generate a function at runtime?
Well, to be honest, I know how to add my own matcher function with python-casbin but I do not know where to start with casbin as a service. It would be sufficient to generate the function statically before runtime.