Exemplo n.º 1
0
 def _checkParams(self, params):
     RHAdminBase._checkParams(self, params)
     if request.form.get('undo') == '1':
         self.user = None
     else:
         self.user = User.get_one(int(request.form['user_id']),
                                  is_deleted=False)
Exemplo n.º 2
0
 def _checkParams(self, params):
     RHAdminBase._checkParams(self, params)
     self.request = RegistrationRequest.get_one(
         request.view_args['request_id'])
Exemplo n.º 3
0
 def _checkParams(self, params):
     RHAdminBase._checkParams(self, params)
     self.reference_type = ReferenceType.find_one(
         id=request.view_args['reference_type_id'])