From time to time I need to create private categories, limited to certain groups. Right now it’s a lot of hassle: groups and categories are created in different places, and then permissions have to be set separately. I need to be able to create a group in one place and have a private category assigned to this group at once.
There has already been a feature request for that: Automatically create category when creating new group
My question: if I would like to do it myself, what should I look for? Is there a way of adding custom scripts or batch tasks? Or should it all (create a category, create a group, set permissions) be done via API?