← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15117: Auths in mobile

 

------------------------------------------------------------
revno: 15117
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-04-30 10:07:40 +0200
message:
  Auths in mobile
modified:
  dhis-2/dhis-web/dhis-web-sms/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-sms/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml	2014-03-27 03:53:07 +0000
+++ dhis-2/dhis-web/dhis-web-sms/src/main/resources/struts.xml	2014-04-30 08:07:40 +0000
@@ -48,13 +48,13 @@
       <param name="menu">/dhis-web-sms/menuWithTree.vm</param>
       <param name="javascripts">../dhis-web-commons/ouwt/ouwt.js</param>
       <param name="stylesheets">../dhis-web-sms/css/patient.css</param>
-      <param name="requiredAuthorities">F_MOBILE_SENDSMS,F_PATIENT_SEARCH</param>
+      <param name="requiredAuthorities">F_MOBILE_SENDSMS,F_TRACKED_ENTITY_INSTANCE_SEARCH</param>
     </action>
 
     <action name="searchRegistrationPatient" class="org.hisp.dhis.sms.outcoming.SearchPatientAction">
       <result name="success" type="velocity">/content.vm</result>
       <param name="page">/dhis-web-sms/patientRegistrationList.vm</param>
-      <param name="requiredAuthorities">F_PATIENT_SEARCH</param>
+      <param name="requiredAuthorities">F_TRACKED_ENTITY_INSTANCE_SEARCH</param>
     </action>
 
     <action name="sendSMS"
@@ -67,7 +67,7 @@
     <action name="searchAllFacilities" class="org.hisp.dhis.sms.action.NoAction">
       <result name="success" type="velocity-json">/dhis-web-commons/ajax/jsonResponseSuccess.vm
       </result>
-      <param name="requiredAuthorities">F_SEARCH_PATIENT_IN_ALL_FACILITIES</param>
+      <param name="requiredAuthorities">F_TRACKED_ENTITY_INSTANCE_SEARCH_IN_ALL_ORGUNITS</param>
     </action>
 
   </package>