← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4407: Added required authority for updating orgunit levels

 

------------------------------------------------------------
revno: 4407
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2011-08-21 12:26:01 +0200
message:
  Added required authority for updating orgunit levels
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/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-organisationunit/src/main/resources/struts.xml'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/resources/struts.xml	2011-08-18 10:12:25 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/resources/struts.xml	2011-08-21 10:26:01 +0000
@@ -260,10 +260,12 @@
       <result name="success" type="velocity">/main.vm</result>
       <param name="page">/dhis-web-maintenance-organisationunit/saveOrganisationUnitLevelForm.vm</param>
       <param name="menu">/dhis-web-maintenance-organisationunit/menu.vm</param>
+	  <param name="requiredAuthorities">F_ORGANISATIONUNITLEVEL_UPDATE</param>
     </action>
 
     <action name="saveOrganisationUnitLevels" class="org.hisp.dhis.oum.action.organisationunitlevel.SaveOrganisationUnitLevelsAction">
       <result name="success" type="redirect">index.action</result>
+	  <param name="requiredAuthorities">F_ORGANISATIONUNITLEVEL_UPDATE</param>
     </action>
 
     <!-- OrganisationUnit Search -->

=== 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-06-30 07:55:55 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/main/resources/org/hisp/dhis/user/i18n_module.properties	2011-08-21 10:26:01 +0000
@@ -81,12 +81,13 @@
 F_ORGANISATIONUNIT_DELETE = Delete Organisation Unit
 F_ORGANISATIONUNIT_MOVE = Move Organisation Unit
 F_ORGANISATIONUNIT_UPDATE = Update Organisation Unit
+F_ORGUNITGROUP_ADD = Add Organisation Unit Group
+F_ORGUNITGROUP_DELETE = Delete Organisation Unit Group
+F_ORGUNITGROUP_UPDATE = Update Organisation Unit Group
 F_ORGUNITGROUPSET_ADD = Add Organisation Unit Group Set
 F_ORGUNITGROUPSET_DELETE = Delete Organisation Unit Group Set
 F_ORGUNITGROUPSET_UPDATE = Update Organisation Unit Group Set
-F_ORGUNITGROUP_ADD = Add Organisation Unit Group
-F_ORGUNITGROUP_DELETE = Delete Organisation Unit Group
-F_ORGUNITGROUP_UPDATE = Update Organisation Unit Group
+F_ORGANISATIONUNITLEVEL_UPDATE = Update Organisation Unit Level
 F_REPORT_ADD = Add Report
 F_REPORT_DELETE = Delete Report
 F_REPORT_UPDATE = Update Report