svn commit: r686592 - in /ofbiz/trunk/applications: order/config/OrderErrorUiLabels.xml party/webapp/partymgr/communication/CommMenus.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r686592 - in /ofbiz/trunk/applications: order/config/OrderErrorUiLabels.xml party/webapp/partymgr/communication/CommMenus.xml

hansbak-2
Author: hansbak
Date: Sun Aug 17 01:49:18 2008
New Revision: 686592

URL: http://svn.apache.org/viewvc?rev=686592&view=rev
Log:
add missing label and only show option if has access

Modified:
    ofbiz/trunk/applications/order/config/OrderErrorUiLabels.xml
    ofbiz/trunk/applications/party/webapp/partymgr/communication/CommMenus.xml

Modified: ofbiz/trunk/applications/order/config/OrderErrorUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/config/OrderErrorUiLabels.xml?rev=686592&r1=686591&r2=686592&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/config/OrderErrorUiLabels.xml (original)
+++ ofbiz/trunk/applications/order/config/OrderErrorUiLabels.xml Sun Aug 17 01:49:18 2008
@@ -1760,6 +1760,16 @@
         <value xml:lang="th">Security Error: ความปลอดภัยผิดพลาด ! ถึงการดำเนินการ cancelReturnItems คุณต้องมี ORDERMGR_DELETE หรือ ORDERMGR_ADMIN อนุญาต</value>
         <value xml:lang="zh">安全错误:要运行 cancelReturnItems,你必须具有 ORDERMGR_DELETE 或 ORDERMGR_ADMIN 权限</value>
     </property>
+    <property key="OrderSecurityErrorToRunCheckCreateCustRequest">
+        <value xml:lang="en">Security Error : to run createCustRequest you must have the ORDERMGR_CRQ_CREATE or ORDERMGR_ADMIN permission</value>
+        <value xml:lang="es">Error de seguridad: Para correr createCustRequest debe contar con los permisos ORDERMGR_CRQ_CREATE o ORDERMGR_ADMIN</value>
+        <value xml:lang="fr">Erreur de sécurité : pour exécuter createCustRequest, vous devez avoir la permission d'administrer ou de créer la commande</value>
+        <value xml:lang="it">Errore Sicurezza : per eseguire createCustRequest tu devi avere il permesso ORDERMGR_CRQ_CREATE o ORDERMGR_ADMIN</value>
+        <value xml:lang="ro">Eroare Siguranta : pentru  executarea createCustRequest trebuie sa ai permisul ORDERMGR_CRQ_CREATE sau ORDERMGR_ADMIN</value>
+        <value xml:lang="ru">Ошибка безопасности: для выполнения createCustRequest у вас должны быть права ORDERMGR_CRQ_CREATE или ORDERMGR_ADMIN </value>
+        <value xml:lang="th">Security Error: ความปลอดภัยผิดพลาด ! ถึงการดำเนินการ createCustRequest คุณต้องมี ORDERMGR_CRQ_CREATE หรือ ORDERMGR_ADMIN อนุญาต</value>
+        <value xml:lang="zh">安全错误:要运行 createCustRequest,你必须具有 ORDERMGR_CRQ_CREATE 或 ORDERMGR_ADMIN 权限</value>
+    </property>
     <property key="OrderSecurityErrorToRunCheckCreateOrderRequirement">
         <value xml:lang="en">Security Error : to run checkCreateOrderRequirement you must have the ORDERMGR_CREATE or ORDERMGR_ADMIN permission</value>
         <value xml:lang="es">Error de seguridad: Para correr checkCreateOrderRequirement debe contar con los permisos ORDERMGR_CREATE o ORDERMGR_ADMIN</value>

Modified: ofbiz/trunk/applications/party/webapp/partymgr/communication/CommMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/communication/CommMenus.xml?rev=686592&r1=686591&r2=686592&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommMenus.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommMenus.xml Sun Aug 17 01:49:18 2008
@@ -94,6 +94,7 @@
                 <and>
                     <not><if-empty field-name="parameters.communicationEventId"/></not>
                     <not><if-empty field-name="communicationEvent.partyIdFrom"/></not>
+                    <if-has-permission permission="ORDERMGR_CRQ_CREATE"/>
                 </and>
             </condition>
             <link target="editRequestFromCommEvent?communicationEventId=${parameters.communicationEventId}"/>