There's no ready made API for this, but you can try the following:const allCids = await Categories.getAllCidsFromSet('categories:cid'); const groupCids = await privileges.categories.filterCids('topics:create', allCids, 'groupName');
Hi does, NodeBB have security groups, to give an admin, manager like permissions, e.g. moderate posts, user bans etc but no access to plugins, and other system related features?
Robert last edited by
@brownsmart Yes, you can assign groups the Moderator flag, this will allow the people in the group to lock, delete, move & do all topic related moderation on a category basis. (Meaning you can have groups that can moderate all category's or groups that can only moderate one category)
To ban a user from using the forums is something else, Only people with the default System Admin group can ban users. What I can imagine is that a plugin can be made to give a group access to a ban button on the users profile. Hope this helps.
Hhhmm interesting... many thanks, guess i better start learning how to do plugins!