def _checkProtection(self):
     """ This disables people that are not conference managers or track coordinators to
         delete files from a contribution.
     """
     RHContribModifBaseReviewingStaffRights._checkProtection(self)
     for key in self._paramsForCheckProtection.keys():
         if key.find("delete")!=-1:
             RHContribModifBaseReviewingStaffRights._checkProtection(self)
Example #2
0
 def _checkProtection(self):
     """ This disables people that are not conference managers or track coordinators to
         delete files from a contribution.
     """
     RHContribModifBaseReviewingStaffRights._checkProtection(self)
     for key in self._paramsForCheckProtection.keys():
         if key.find("delete") != -1:
             RHContribModifBaseReviewingStaffRights._checkProtection(self)
 def _checkParams(self, params):
     RHContribModifBaseReviewingStaffRights._checkParams(self, params)
     params["days"] = params.get("day", "all")
     if params.get("day", None) is not None :
         del params["day"]
     self._paramsForCheckProtection = params
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         RHContribModifBaseReviewingStaffRights._checkProtection(self)
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         RHContribModifBaseReviewingStaffRights._checkProtection(self)
     else:
         raise MaKaCError(
             _("Paper Reviewing is not active for this conference"))
Example #6
0
 def _checkParams(self, params):
     RHContribModifBaseReviewingStaffRights._checkParams(self, params)
     params["days"] = params.get("day", "all")
     if params.get("day", None) is not None:
         del params["day"]
     self._paramsForCheckProtection = params