You have to select the groups you want in that field in your user profile.
User -> Edit Profile -> Group Title
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.