예제 #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"]
예제 #2
0
파일: users.py 프로젝트: arturodr/indico
 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"]
예제 #3
0
 def _checkParams( self, params ):
     self._params = params
     RH._checkParams( self, params )
     self._save = params.get("Save", "")
예제 #4
0
 def _process(self):
     return RH._process(self)
예제 #5
0
 def _process(self):
     return RH._process(self)
예제 #6
0
 def _process(self):
     # ConferenceModifBase overrides this with functionality that
     # doesn't even belong in there...
     return RH._process(self)
예제 #7
0
 def __init__(self):
     RH.__init__(self)
     self._wf = ""
예제 #8
0
 def _checkParams(self, params):
     RH._checkParams(self, params)
     self.attachment = Attachment.find_one(
         id=request.view_args['attachment_id'], is_deleted=False)
예제 #9
0
 def _checkProtection(self):
     RH._checkProtection(self)
     if not self.attachment.can_access(session.user):
         raise Forbidden
예제 #10
0
 def __init__( self, req ):
     RH.__init__( self, req )
     self._wf = ""
예제 #11
0
 def __init__(self, req):
     RH.__init__(self, req)
     self._wf = ""
예제 #12
0
파일: users.py 프로젝트: arturodr/indico
 def _checkParams(self, params):
     self._params = params
     RH._checkParams(self, params)
     self._save = params.get("Save", "")
예제 #13
0
 def __init__(self, req=None):
     RH.__init__(self)
     self._wf = ""
예제 #14
0
 def _process(self):
     # ConferenceModifBase overrides this with functionality that
     # doesn't even belong in there...
     return RH._process(self)
예제 #15
0
 def __init__(self, req=None):
     RH.__init__(self)
     self._wf = ""
예제 #16
0
 def _checkParams(self, params):
     RH._checkParams(self, params)
     self.attachment = Attachment.find_one(id=request.view_args['attachment_id'], is_deleted=False)
예제 #17
0
 def __init__(self):
     RH.__init__(self)
     self._wf = ""
예제 #18
0
 def _checkProtection(self):
     RH._checkProtection(self)
     if not self.attachment.can_access(session.user):
         raise Forbidden