MCPcopy Index your code
hub / github.com/strongloop/loopback / processRelatedUser

Function processRelatedUser

common/models/role.js:342–347  ·  view source on GitHub ↗
(err, user)

Source from the content-addressed store, hash-verified

340 callback(null, false);
341
342 function processRelatedUser(err, user) {
343 if (err || !user) return callback(err, false);
344
345 debug('User found: %j', user.id);
346 callback(null, matches(user.id, userId));
347 }
348 }
349
350 function checkOwnership(inst) {

Callers

nothing calls this directly

Calls 1

matchesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…