Thank you very much @oplik0 for your very detailed and helpful answer. 👍 I will take a look into the write-api plugin first and see how far I get. From your description it sounds like what I need.
I'm looking at a service to create a group, then a category for only members of that group.
The user who called the service will also become moderator of the category & it won't be visible to members outside of the group.
I'm using 'privileges.categories.give' to give the group permissions, but I'm struggling with issuing the privileges to a specific user. I've tried using the same function with UID, but no luck
Does anyone have any pointers for this?
Look at the function Categories.setPrivilege in
You need to add the uid of the user to a specific privilege group with.
groups.join('cid:3:privileges:read', uidOfUser, callback);
Thanks a lot @baris.
I'll investigate this route.