← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3325: Minor fix

 

------------------------------------------------------------
revno: 3325
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-04-08 16:50:37 +0200
message:
  Minor fix
modified:
  dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/resources/struts.xml
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/resources/org/hisp/dhis/user/i18n_module.properties


--
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-dashboard-integration/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/resources/struts.xml	2011-04-04 11:37:04 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/resources/struts.xml	2011-04-08 14:50:37 +0000
@@ -67,6 +67,7 @@
     
     <action name="sendMessage" class="org.hisp.dhis.dashboard.message.action.SendMessageAction">
       <result name="success" type="redirect">message.action</result>
+      <param name="requiredAuthorities">F_SEND_MESSAGE</param>
     </action>
     
     <action name="showSendMessage" class="org.hisp.dhis.dashboard.action.NoAction">
@@ -75,6 +76,7 @@
       <param name="menu">/dhis-web-dashboard-integration/menu.vm</param>
       <param name="javascripts">../dhis-web-commons/oust/oust.js,javascript/message.js</param>
       <param name="stylesheets">style/dashboard.css</param>
+      <param name="requiredAuthorities">F_SEND_MESSAGE</param>
     </action>
     
     <action name="readMessage" class="org.hisp.dhis.dashboard.message.action.ReadMessageAction">

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/resources/org/hisp/dhis/user/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/resources/org/hisp/dhis/user/i18n_module.properties	2011-03-23 04:56:49 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/resources/org/hisp/dhis/user/i18n_module.properties	2011-04-08 14:50:37 +0000
@@ -150,6 +150,7 @@
 F_VALIDATIONCRITERIA_ADD = Add Validation Criteria
 F_VALIDATIONCRITERIA_DELETE = Delete Validation Criteria
 F_VALIDATIONCRITERIA_UPDATE = Update Validation Criteria
+F_SEND_MESSAGE = Send message
 
 #-- User module ---------------------------------------------------------------#