You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2013/06/19 10:06:52 UTC

svn commit: r1494491 - /ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml

Author: hansbak
Date: Wed Jun 19 08:06:52 2013
New Revision: 1494491

URL: http://svn.apache.org/r1494491
Log:
missng security check for add accounting company

Modified:
    ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml

Modified: ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml?rev=1494491&r1=1494490&r2=1494491&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AccountingMenus.xml Wed Jun 19 08:06:52 2013
@@ -1314,8 +1314,10 @@ under the License.
     </menu>
     <menu name="newAccountOrganization">
         <menu-item name="addCompany"  title="${uiLabelMap.AccountingNewCompany}">
-            <link target="AddCompany" link-type="auto">
-            </link>
+            <condition>
+                <if-compare field="hasPrefPermission" operator="equals" value="true" type="Boolean"/>
+            </condition>
+            <link target="AddCompany" link-type="auto"/>
         </menu-item>
      </menu>
 </menus>