rem: this.status === Story.SHARED && Membership.require(Membership.CONTRIBUTOR) || this.status === Story.OPEN && Membership.require(Membership.SUBSCRIBER) || 
add: (this.status === Story.SHARED && Membership.require(Membership.CONTRIBUTOR)) || (this.status === Story.OPEN && Membership.require(Membership.SUBSCRIBER)) || 
context: Story.prototype.getPermission = function(action) {   if (!this.site.getPermission("main")) {      return false;   }   switch (action) {      case ".":      case "main":      return this.creator === session.user ||             Membership.require(Membership.MANAGER) ||             this.status !== Story.CLOSED ||             User.require(User.PRIVILEGED);      case "comment":      return this.site.commentMode === Site.ENABLED &&            this.commentMode === Story.OPEN ||            this.commentMode === Story.MODERATED;      case "delete":      return this.creator === session.user ||             Membership.require(Membership.MANAGER) ||            User.require(User.PRIVILEGED);                  case "edit":      case "rotate":      return this.creator === session.user ||             Membership.require(Membership.MANAGER) ||             this.status === Story.SHARED &&            Membership.require(Membership.CONTRIBUTOR) ||             this.status === Story.OPEN &&             Membership.require(Membership.SUBSCRIBER) ||            User.require(User.PRIVILEGED);   }   return false;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/3d0fae4302b944a61894fbad9cb3eb06f72984a3/Story.js/clean/code/Story/Story.js