You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
userGroups.each(
function (group, iterateNext) {
if (groups.indexOf(group.name) > -1) {
if (!all || --done === 0) {
isInGroup = true;
}
}
iterateNext();
},
function () {
callback(null, isInGroup);
}
);
The first function never fires, it looks like the underlying collection's items property is empty even though the groups are expanded on the user object.
lib/middleware/groups-required.js
The first function never fires, it looks like the underlying collection's items property is empty even though the groups are expanded on the user object.