← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5203: Data mart authorities

 

------------------------------------------------------------
revno: 5203
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-11-23 13:38:30 +0100
message:
  Data mart authorities
modified:
  dhis-2/dhis-web/dhis-web-datamart/src/main/resources/struts.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-datamart/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-datamart/src/main/resources/struts.xml	2011-10-04 05:10:07 +0000
+++ dhis-2/dhis-web/dhis-web-datamart/src/main/resources/struts.xml	2011-11-23 12:38:30 +0000
@@ -30,16 +30,19 @@
       <result name="success" type="velocity">/main.vm</result>
       <param name="page">/dhis-web-datamart/exportStatus.vm</param>
       <param name="javascripts">javascript/datamart.js</param>
+      <param name="requiredAuthorities">F_DATAMART_ADMIN</param>
     </action>
 
     <action name="getExportStatus" class="org.hisp.dhis.datamart.action.GetExportStatusAction">
       <result name="success" type="velocity-json">/dhis-web-datamart/jsonExportStatus.vm</result>
       <param name="onExceptionReturn">plainTextError</param>
+      <param name="requiredAuthorities">F_DATAMART_ADMIN</param>
     </action>
 
     <action name="cancelExport" class="org.hisp.dhis.datamart.action.CancelExportAction">
       <result name="success" type="velocity-xml">../dhis-web-commons/ajax/xmlResponseSuccess.vm</result>
       <param name="onExceptionReturn">plainTextError</param>
+      <param name="requiredAuthorities">F_DATAMART_ADMIN</param>
     </action>
 		
     <!-- DataMartExports -->
@@ -48,6 +51,7 @@
       <result name="success" type="velocity-json">
 		../dhis-web-commons/ajax/jsonResponseSuccess.vm</result>
       <param name="onExceptionReturn">plainTextError</param>
+      <param name="requiredAuthorities">F_DATAMART_ADMIN</param>
     </action>
 
     <action name="getDataMartExports" class="org.hisp.dhis.datamart.action.GetAllDataMartExportsAction">
@@ -56,6 +60,7 @@
       <param name="menu">/dhis-web-datamart/menu.vm</param>
       <param name="javascripts">javascript/datamart.js</param>
       <param name="stylesheets">../dhis-web-commons/paging/paging.css</param>
+      <param name="requiredAuthorities">F_DATAMART_ADMIN</param>
     </action>
 
     <action name="saveDataMartExport" class="org.hisp.dhis.datamart.action.SaveDataMartExportAction">