docs: function ensureOrgOrSiteAdmin(req, res) {
          var userId = getUserId(req),
              userData;
  
          return gmeAuth.getUser(userId)
              .then(function (data) {
                  userData = data;
                  return gmeAuth.getAdminsInOrganization(req.params.orgId);
              })
              .then(function (admins) {
                  if (!userData.siteAdmin && admins.indexOf(userId) === -1) {
                      res.status(403);
                      throw new Error('site admin role or organization admin is required for this operation');
                  }
  
                  return userData;
              });
      }