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 _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 _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"))