def _checkProtection(self): RHRoomBookingBase._checkProtection(self) if not self._reservation.can_be_cancelled(session.user): raise IndicoError("You are not authorized to perform this action")
def _checkProtection(self): RHRoomBookingBase._checkProtection(self) if not self._block.can_be_deleted(session.user): raise IndicoError("You are not authorized to delete this blocking.")
def _checkProtection(self): RHConferenceModifBase._checkProtection(self) RHRoomBookingBase._checkProtection(self)
def _checkProtection(self): RHManageEventBase._checkProtection(self) RHRoomBookingBase._checkProtection(self)
def _checkProtection(self): RHRoomBookingBase._checkProtection(self) if not self._block.can_be_deleted(self._getUser()): raise IndicoError('You are not authorized to delete this blocking.')