Ejemplo n.º 1
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)
Ejemplo n.º 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)
Ejemplo n.º 3
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
Ejemplo n.º 4
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         RHContribModifBaseReviewingStaffRights._checkProtection(self)
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
Ejemplo n.º 5
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         RHContribModifBaseReviewingStaffRights._checkProtection(self)
     else:
         raise MaKaCError(
             _("Paper Reviewing is not active for this conference"))
Ejemplo n.º 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