How to assign privileges to a category using API?
Is there any API or way so that I can add a group to a category and assign privileges to that group programmatically. I know this can be done using ACP, But I need a method to do it programmatically.
Is there any API that adds a group into a category and also adds permissions.
Please find attached image.
Thanks @julian for providing information.
Sorry for necromancing.
I'm in need of similar feature. Is anyone from nodeBB team willing to push me in the right direction? Perhaps @julian? If solution would be good enough I'm prepared to open source it (PR on Github).