dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21639
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10291: limit the program access by user role (for sms sending search)
------------------------------------------------------------
revno: 10291
committer: Long <Long@Long-Laptop>
branch nick: dhis2
timestamp: Mon 2013-03-18 17:13:41 +0700
message:
limit the program access by user role (for sms sending search)
modified:
dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/ShowSendSMSBeneficiaryFormAction.java
--
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/java/org/hisp/dhis/sms/outcoming/ShowSendSMSBeneficiaryFormAction.java'
--- dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/ShowSendSMSBeneficiaryFormAction.java 2013-03-12 05:40:42 +0000
+++ dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/ShowSendSMSBeneficiaryFormAction.java 2013-03-18 10:13:41 +0000
@@ -110,7 +110,7 @@
{
patientAttributes = patientAttributeService.getAllPatientAttributes();
- programs = programService.getAllPrograms();
+ programs = programService.getProgramsByCurrentUser();
organisationUnit = selectionManager.getSelectedOrganisationUnit();