volantmq
volantmq copied to clipboard
How to implement Auth and ACL backends
Sorry, I could not understand how to implement it. In my scheme Users and ACLs must be in database.
Is this possible?
It can be done by the plugin Take a look some examples here https://github.com/VolantMQ/vlapi Basically, you need to implement this interface https://github.com/VolantMQ/vlapi/blob/b3be82bbdf0c4b07a6d4d6b80ece6b26413ae19c/plugin/auth/auth.go#L55
But yeah, needs a nice example. Challenge to help?
As I understand it is necessary to implement interfaces IFace and Permissions. I do not understand how to apply this implementation in the future.
I would like to see an example or docs.
Thx!
I'll make an example this weekend
is still relevant
Yep, working on that