rem: if (topic.get(j).isViewDenied(session.user)) render = false; 
add: if (!topic.get(j).isViewDenied(session.user)) render = true; 
context: function topiclist_macro(param) {   if (!this.size())      return;   for (var i=0;i<this.size();i++) {      var topic = this.get(i);      // check if topic has at least one story that      // user is allowed to see      var render = true;      for (var j=0;j<topic.size();j++) {         if (topic.get(j).isViewDenied(session.user))            render = false;      }      if (!render)         continue;      res.write(param.itemprefix);      // FIXME: manual escaping because internal webserver doesn't      // seem to understand spaces encoded as '+'      openLink(this.href() + escape(topic.groupname));      res.write(topic.groupname);      closeLink();      res.write(param.itemsuffix);   }}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/15b90d4daa60756d32e0de72a60670027b0a50a7/macros.js/clean/code/TopicMgr/macros.js