[Erp5-report] r21103 - /erp5/trunk/products/ERP5/PropertySheet/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri May 23 16:11:53 CEST 2008


Author: aurel
Date: Fri May 23 16:11:40 2008
New Revision: 21103

URL: http://svn.erp5.org?rev=21103&view=rev
Log:
DMS, PDM et CRM preference can only be modified by manager

Modified:
    erp5/trunk/products/ERP5/PropertySheet/CustomerRelationPreference.py
    erp5/trunk/products/ERP5/PropertySheet/DocumentPreference.py
    erp5/trunk/products/ERP5/PropertySheet/ProductDataPreference.py

Modified: erp5/trunk/products/ERP5/PropertySheet/CustomerRelationPreference.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/CustomerRelationPreference.py?rev=21103&r1=21102&r2=21103&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/CustomerRelationPreference.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/CustomerRelationPreference.py Fri May 23 16:11:40 2008
@@ -37,41 +37,48 @@
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_campaign_resource',
       'description' : 'Preferred resources to count the different kinds of Events',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_sale_opportunity_resource',
       'description' : 'Preferred resources to count the different kinds of Events',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_meeting_resource',
       'description' : 'Preferred resources to count the different kinds of Events',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_support_request_resource',
       'description' : 'Preferred resources to count the different kinds of Events',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_event_assessment_form_id',
       'description' : 'Preferred forms to use in the assessing of ticket events.',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_event_sender_email',
       'description' : 'Preferred email for replies sent through the CRM system.',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     )

Modified: erp5/trunk/products/ERP5/PropertySheet/DocumentPreference.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/DocumentPreference.py?rev=21103&r1=21102&r2=21103&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/DocumentPreference.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/DocumentPreference.py Fri May 23 16:11:40 2008
@@ -36,41 +36,49 @@
       'description' : 'Address of a server for converting docs (ip or domain)',
       'type'        : 'string',
       'preference'  : 1,
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_ooodoc_server_port_number',
       'description' : 'Port number of a server for converting docs',
       'type'        : 'int',
       'preference'  : 1,
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_document_reference_regular_expression',
       'description' : 'A regular expression to find and verify doc references',
       'type'        : 'string',
       'preference'  : 1,
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_document_file_name_regular_expression',
       'description' : 'A regular expression to parse file names',
       'type'        : 'string',
       'preference'  : 1,
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_document_reference_method_id',
       'description' : 'Function for parsing, finding and verifying doc reference',
       'type'        : 'string',
       'preference'  : 1,
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'              : 'preferred_document_ingestion_email_notification',
       'description'     : 'None - always, "always", "problem (only if problem), "never"', # XXX-JPS this is not a description
       'type'            : 'selection',
       'select_variable' : 'getPreferredDocumentIngestionEmailNotificationSelectionList',
+      'write_permission': 'Manage properties',
       'preference'      : 1,
       'mode'            : '' },
     { 'id'          : 'preferred_document_email_ingestion_address',
       'description' : 'Email ingestion address',
       'type'        : 'string',
+      'write_permission': 'Manage properties',
       'preference'  : 1,
       'mode'        : '' },
     { 'id'          : 'preferred_document_classification',
       'description' : 'Preffered classification policy for newly created documents',
       'type'        : 'string',
+      'write_permission': 'Manage properties',
       'preference'  : 1,
       'mode'        : '' },
     # XXX-JPS. This is not a real property - it is somehow a hack.
@@ -79,6 +87,7 @@
       'description'     : 'List of possible values for preferred_document_ingestion_email_notification',
       'type'            : 'tokens',
       'default'         : ['always','problem','never'],
+      'write_permission': 'Manage properties',
       'mode'            : 'w'},
     )
 

Modified: erp5/trunk/products/ERP5/PropertySheet/ProductDataPreference.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/ProductDataPreference.py?rev=21103&r1=21102&r2=21103&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/ProductDataPreference.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/ProductDataPreference.py Fri May 23 16:11:40 2008
@@ -39,53 +39,62 @@
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_product_optional_variation_base_category',
       'description' : 'Defines optional base categories axes in products variations',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
     { 'id'          : 'preferred_product_individual_variation_base_category',
       'description' : 'Defines individual base categories axes in products variations',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+      'write_permission': 'Manage properties',
       'mode'        : '' },
       { 'id'          : 'preferred_component_variation_base_category',
       'description' : 'Defines base categories axes in components variations',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+        'write_permission': 'Manage properties',
       'mode'        : '' },
       { 'id'          : 'preferred_component_optional_variation_base_category',
       'description' : 'Defines optional base categories axes in components variations',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+        'write_permission': 'Manage properties',
       'mode'        : '' },
       { 'id'          : 'preferred_component_individual_variation_base_category',
       'description' : 'Defines individual base categories axes in components variations',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+        'write_permission': 'Manage properties',
       'mode'        : '' },
       { 'id'          : 'preferred_service_variation_base_category',
       'description' : 'Defines base categories axes in services variations',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+        'write_permission': 'Manage properties',
       'mode'        : '' },
       { 'id'          : 'preferred_service_optional_variation_base_category',
       'description' : 'Defines optional base categories axes in services variations',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+        'write_permission': 'Manage properties',
       'mode'        : '' },
       { 'id'          : 'preferred_service_individual_variation_base_category',
       'description' : 'Defines individual base categories axes in services variations',
       'type'        : 'lines',
       'preference'  : 1,
       'default'     : [],
+        'write_permission': 'Manage properties',
       'mode'        : '' },
     )




More information about the Erp5-report mailing list