Esempio n. 1
0
 def _checkParams( self, params ):
     from copy import copy
     self._params = copy(params)
     RH._checkParams( self, params )
     self._addURL = ""
     if self._params.has_key( "addURL" ):
         self._addURL = self._params["addURL"]
         del self._params["addURL"]
     self._identityList = self._normaliseListParam(self._params.get("selectedPrincipals",[]))
     if self._params.has_key("selectedPrincipals"):
         del self._params["selectedPrincipals"]
Esempio n. 2
0
 def _checkParams(self, params):
     from copy import copy
     self._params = copy(params)
     RH._checkParams(self, params)
     self._addURL = ""
     if self._params.has_key("addURL"):
         self._addURL = self._params["addURL"]
         del self._params["addURL"]
     self._identityList = self._normaliseListParam(
         self._params.get("selectedPrincipals", []))
     if self._params.has_key("selectedPrincipals"):
         del self._params["selectedPrincipals"]
Esempio n. 3
0
 def _checkParams( self, params ):
     self._params = params
     RH._checkParams( self, params )
     self._save = params.get("Save", "")
Esempio n. 4
0
 def _process(self):
     return RH._process(self)
Esempio n. 5
0
 def _process(self):
     return RH._process(self)
Esempio n. 6
0
 def _process(self):
     # ConferenceModifBase overrides this with functionality that
     # doesn't even belong in there...
     return RH._process(self)
Esempio n. 7
0
 def __init__(self):
     RH.__init__(self)
     self._wf = ""
Esempio n. 8
0
 def _checkParams(self, params):
     RH._checkParams(self, params)
     self.attachment = Attachment.find_one(
         id=request.view_args['attachment_id'], is_deleted=False)
Esempio n. 9
0
 def _checkProtection(self):
     RH._checkProtection(self)
     if not self.attachment.can_access(session.user):
         raise Forbidden
Esempio n. 10
0
 def __init__( self, req ):
     RH.__init__( self, req )
     self._wf = ""
Esempio n. 11
0
 def __init__(self, req):
     RH.__init__(self, req)
     self._wf = ""
Esempio n. 12
0
 def _checkParams(self, params):
     self._params = params
     RH._checkParams(self, params)
     self._save = params.get("Save", "")
Esempio n. 13
0
 def __init__(self, req=None):
     RH.__init__(self)
     self._wf = ""
Esempio n. 14
0
 def _process(self):
     # ConferenceModifBase overrides this with functionality that
     # doesn't even belong in there...
     return RH._process(self)
Esempio n. 15
0
 def __init__(self, req=None):
     RH.__init__(self)
     self._wf = ""
Esempio n. 16
0
 def _checkParams(self, params):
     RH._checkParams(self, params)
     self.attachment = Attachment.find_one(id=request.view_args['attachment_id'], is_deleted=False)
Esempio n. 17
0
 def __init__(self):
     RH.__init__(self)
     self._wf = ""
Esempio n. 18
0
 def _checkProtection(self):
     RH._checkProtection(self)
     if not self.attachment.can_access(session.user):
         raise Forbidden