dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #12835
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4021: Removed unnecesary authority
------------------------------------------------------------
revno: 4021
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2011-06-25 00:42:47 +0200
message:
Removed unnecesary authority
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js
dhis-2/dhis-web/dhis-web-reporting/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-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js 2011-06-23 08:20:44 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/entry.js 2011-06-24 22:42:47 +0000
@@ -62,10 +62,7 @@
for ( k in matcher )
{
var match = matcher[k];
- var operand = match.replace( /[\[\]]/g, '' ); // Remove brackets from
- // expression to
- // simplify extraction
- // of identifiers
+ var operand = match.replace( /[\[\]]/g, '' ); // Remove brackets from expression to simplify extraction of identifiers
var dataElementId = operand.substring( 0, operand.indexOf( SEPARATOR ) );
var categoryOptionComboId = operand.substring( operand.indexOf( SEPARATOR ) + 1, operand.length );
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/resources/struts.xml 2011-06-23 14:36:02 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/resources/struts.xml 2011-06-24 22:42:47 +0000
@@ -128,7 +128,6 @@
<action name="createReportTable" class="org.hisp.dhis.reporting.tablecreator.action.CreateTableAction">
<result name="success" type="redirect">displayViewReportForm.action</result>
- <param name="requiredAuthorities">F_REPORT_VIEW</param>
</action>
<action name="displayViewReportForm" class="org.hisp.dhis.reporting.reportviewer.action.GetAllReportsAction">
@@ -137,7 +136,6 @@
<param name="page">/dhis-web-reporting/viewReportForm.vm</param>
<param name="menu">/dhis-web-reporting/menu.vm</param>
<param name="javascripts">javascript/report.js</param>
- <param name="requiredAuthorities">F_REPORT_VIEW</param>
<param name="stylesheets">../dhis-web-commons/paging/paging.css</param>
</action>
@@ -185,7 +183,6 @@
<param name="page">/dhis-web-reporting/inputReportParamsForm.vm</param>
<param name="menu">/dhis-web-reporting/menu.vm</param>
<param name="javascripts">../dhis-web-commons/oust/oust.js,javascript/generateReport.js</param>
- <param name="requiredAuthorities">F_REPORT_VIEW</param>
</action>
<action name="displayAddTableForm" class="org.hisp.dhis.reporting.tablecreator.action.GetTableOptionsAction">