mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-26 19:26:05 +02:00
upgrading privilege sets to be system groups, so they're not in the way
This commit is contained in:
@@ -327,8 +327,8 @@ adminController.extend.rewards = function(req, res, next) {
|
||||
adminController.groups.get = function(req, res, next) {
|
||||
groups.list({
|
||||
expand: true,
|
||||
showSystemGroups: true,
|
||||
truncateUserList: true
|
||||
truncateUserList: true,
|
||||
isAdmin: true
|
||||
}, function(err, groups) {
|
||||
groups = groups.filter(function(group) {
|
||||
return group.name !== 'registered-users' && group.name !== 'guests';
|
||||
|
||||
Reference in New Issue
Block a user