Ignore:
Timestamp:
28/09/10 12:27:24 (11 years ago)
Author:
astephen
Message:

Fixed to async argument handler working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/controllers/status.py

    r7531 r7535  
    1313 
    1414from cows_wps.utils.parse_wps_config import wps_config_dict 
    15 #from cows_wps.utils.role_handler import RoleHandler 
     15from cows_wps.utils.role_handler import RoleHandler 
    1616 
    1717from cows_wps.model.managers import requestManager 
     
    4040        #!FIXME: Remove hard-coded version 
    4141 
    42        
    43 #        rh = RoleHandler() 
     42        # Now work out which authorisedRoles are associated with this Process ID 
     43        # and this set of arguments 
     44        rh = RoleHandler() 
     45        authorisedRoles = rh.getRoleNumberFromProcessIDAndArgs(context.config['identifier'], context.inputs)      
    4446 
    4547        responseXML = xml_renderer.wrapExecuteResponse(context, context.config['identifier'], '0.4.0', context.inputs,  
    4648                      requestId, 
    47                       authorisedRoles="0") 
     49                      authorisedRoles = authorisedRoles) 
    4850 
    4951        response.content_type = 'text/xml' 
Note: See TracChangeset for help on using the changeset viewer.