mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
move registered-users/guests to top remove admins from priv settings
This commit is contained in:
@@ -67,6 +67,10 @@ var async = require('async'),
|
||||
isPrivilegeGroup: /^cid:\d+:privileges:[\w:]+$/
|
||||
};
|
||||
|
||||
Groups.getEphemeralGroups = function() {
|
||||
return ephemeralGroups;
|
||||
};
|
||||
|
||||
Groups.list = function(options, callback) {
|
||||
db.getSortedSetRevRange('groups:createtime', 0, -1, function (err, groupNames) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user