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/templates/defs.xml

    r6873 r7531  
    4848    <py:def function="markupFileSetContents(fileSet, jobId)"> 
    4949        <FileDetails py:for="file in fileSet.contents"> 
    50             <FileURL py:content="url_for(controller='/download', authorisedRoles='1', jobId=jobId, fileName=file.name, qualified=True)"/> 
     50            <FileURL py:content="url_for(controller='/download', authorisedRoles=authorisedRoles, jobId=jobId, fileName=file.name, qualified=True)"/> 
    5151            <FileSize py:content="file.size"/> 
    5252            <FileInfo py:content="file.info"/> 
Note: See TracChangeset for help on using the changeset viewer.