Ignore:
Timestamp:
28/09/10 08:50:03 (10 years ago)
Author:
astephen
Message:

added authorised roles to check user can access this resource.

File:
1 edited

Legend:

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

    r6923 r7531  
    1313 
    1414from cows_wps.utils.parse_wps_config import wps_config_dict 
     15#from cows_wps.utils.role_handler import RoleHandler 
    1516 
    1617from cows_wps.model.managers import requestManager 
     
    3839        context = ProcessContext(processDir).open() 
    3940        #!FIXME: Remove hard-coded version 
    40         responseXML = xml_renderer.wrapExecuteResponse(context, context.config['identifier'], '0.4.0', context.inputs, requestId) 
     41 
     42       
     43#        rh = RoleHandler() 
     44 
     45        responseXML = xml_renderer.wrapExecuteResponse(context, context.config['identifier'], '0.4.0', context.inputs,  
     46                      requestId, 
     47                      authorisedRoles="0") 
     48 
    4149        response.content_type = 'text/xml' 
    4250         
Note: See TracChangeset for help on using the changeset viewer.