예제 #1
0
    def _checkProtection( self ):

        if self._target.getOwner().getAvatar() != self._getUser() or self._getUser() is None:
            tempTarget = self._target
            self._target = self._conf
            RHRegistrationFormModifBase._checkProtection(self)
            self._target = tempTarget
예제 #2
0
    def _checkProtection( self ):

        if self._target.getOwner().getAvatar() != self._getUser() or self._getUser() is None:
            tempTarget = self._target
            self._target = self._conf
            RHRegistrationFormModifBase._checkProtection(self)
            self._target = tempTarget
예제 #3
0
 def _checkProtection( self ):
     RHRegistrationFormModifBase._checkProtection(self)
     if not self._conf.hasEnabledSection("regForm"):
         raise MaKaCError( _("The registrants' management was disabled by the conference managers"))
예제 #4
0
 def _checkProtection(self):
     RHRegistrationFormModifBase._checkProtection(self)
     if not self._conf.hasEnabledSection("regForm"):
         raise MaKaCError(
             _("The registrants' management was disabled by the conference managers"
               ))