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}"/> |
Free forum by Nabble | Edit this page |