← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13579: Patient reminder auths

 

------------------------------------------------------------
revno: 13579
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-01-06 12:40:36 +0100
message:
  Patient reminder auths
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/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-maintenance/dhis-web-maintenance-patient/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/struts.xml	2014-01-06 06:29:46 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/resources/struts.xml	2014-01-06 11:40:36 +0000
@@ -1184,14 +1184,14 @@
 			<result name="success" type="velocity">/main.vm</result>
 			<param name="page">/dhis-web-maintenance-patient/addProgramPatientReminder.vm</param>
 			<param name="javascripts">javascript/commons.js,javascript/programPatientReminder.js</param>
-			<param name="requiredAuthorities">F_ADD_PATIENT_REMINDER</param>
+			<param name="requiredAuthorities">F_PATIENT_REMINDER_MANAGEMENT</param>
 		</action>
 
 		<action name="addProgramPatientReminder"
 			class="org.hisp.dhis.patient.action.patientreminder.AddProgramPatientReminderAction">
 			<result name="success" type="redirect">programPatientReminder.action?id=${programId}
 			</result>
-			<param name="requiredAuthorities">F_ADD_PATIENT_REMINDER</param>
+			<param name="requiredAuthorities">F_PATIENT_REMINDER_MANAGEMENT</param>
 		</action>
 
 		<action name="showUpdateProgramPatientReminder"
@@ -1199,14 +1199,14 @@
 			<result name="success" type="velocity">/main.vm</result>
 			<param name="page">/dhis-web-maintenance-patient/updateProgramPatientReminder.vm</param>
 			<param name="javascripts">javascript/commons.js,javascript/programPatientReminder.js</param>
-			<param name="requiredAuthorities">F_UPDATE_PATIENT_REMINDER</param>
+			<param name="requiredAuthorities">F_PATIENT_REMINDER_MANAGEMENT</param>
 		</action>
 
 		<action name="updateProgramPatientReminder"
 			class="org.hisp.dhis.patient.action.patientreminder.UpdateProgramPatientReminderAction">
 			<result name="success" type="redirect">programPatientReminder.action?id=${programId}
 			</result>
-			<param name="requiredAuthorities">F_UPDATE_PATIENT_REMINDER</param>
+			<param name="requiredAuthorities">F_PATIENT_REMINDER_MANAGEMENT</param>
 		</action>
 
 		<action name="removeProgramPatientReminder"
@@ -1214,7 +1214,7 @@
 			<result name="success" type="velocity-json">
 				/dhis-web-commons/ajax/jsonResponseSuccess.vm
 			</result>
-			<param name="requiredAuthorities">F_DELETE_PATIENT_REMINDER</param>
+			<param name="requiredAuthorities">F_PATIENT_REMINDER_MANAGEMENT</param>
 		</action>
 
 		<action name="getPatientReminder"

=== 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	2013-12-29 15:16:57 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/resources/org/hisp/dhis/user/i18n_module.properties	2014-01-06 11:40:36 +0000
@@ -240,6 +240,7 @@
 F_METADATA_IMPORT=Import Meta-Data
 F_LOCALE_ADD=Add Locale
 F_LOCALE_DELETE=Delete Locale
+F_PATIENT_REMINDER_MANAGEMENT=Manage person reminders
 
 #-- FRED API module -----------------------------------------------------------#