rem: this.checkEdit(session.user, req.data.memberlevel); 
add: this.checkEdit(session.user, res.data.memberlevel); 
context: Site.prototype.switch_macro = function(param) {   if (param.name == "userMayEdit") {      try {         // FIXME: unfortunately, the check* methods are         // not very handy, anymore... (need try/catch block)         this.checkEdit(session.user, req.data.memberlevel);         res.write(param.on);      } catch (err) {         res.write(param.off);         return;      }   } else      HopObject.switch_macro.apply(this, [param]);   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/e9a7800a87905f590201a6af0beb752a4e65a080/Site.js/buggy/code/Site/Site.js