@julian Thanks for getting back to me quickly. Other priorities pulled me away from this, but after looking at your response, it seems like what I'm actually after are "unread" counts, not just notifications. The simple GET solution returned notifications, but not every "unread". Our app is using the session sharing plugin, and we are associating NodeBB accounts with our app accounts. Would I be able to leverage some of the session sharing functionality to get an unread count for users on our app based on their NodeBB account? Thanks
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.