From e06d385df74dcc4050a2ab4bc709f0b190b3c176 Mon Sep 17 00:00:00 2001
From: Mayoro Diagne <mayoro@nexedi.com>
Date: Thu, 8 Jul 2010 17:14:54 +0000
Subject: [PATCH] 2010-07-08 mayoro * remove wrong condition * change pending
 worklist permissions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36997 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../WebSite_viewGovernmentHeaderWorkspaceRenderer.xml         | 2 +-
 .../worklists/pending_form_to_view.xml                        | 2 --
 bt5/erp5_egov/bt/change_log                                   | 4 ++++
 bt5/erp5_egov/bt/revision                                     | 2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewGovernmentHeaderWorkspaceRenderer.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewGovernmentHeaderWorkspaceRenderer.xml
index ce30421faa..803e68c4f8 100644
--- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewGovernmentHeaderWorkspaceRenderer.xml
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewGovernmentHeaderWorkspaceRenderer.xml
@@ -51,7 +51,7 @@
         <a class="home" tal:attributes="href python:context.getWebSiteValue().absolute_url()" \n
           href="./home" i18n:translate="" i18n:domain="ui">Home</a>\n
       </tal:block>\n
-      <a class="preferences" tal:condition="python: context.EGov_checkUserIsAPersonOrOrganisation()==True or 1" href="PreferenceTool_viewChangePasswordDialog" \n
+      <a class="preferences" tal:condition="python: context.EGov_checkUserIsAPersonOrOrganisation()==True" href="PreferenceTool_viewChangePasswordDialog" \n
         i18n:translate="" i18n:domain="ui">Change Password</a>\n
 \n
       <!--\n
diff --git a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_universal_workflow/worklists/pending_form_to_view.xml b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_universal_workflow/worklists/pending_form_to_view.xml
index 47633bbe7a..e65edacc2c 100644
--- a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_universal_workflow/worklists/pending_form_to_view.xml
+++ b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_universal_workflow/worklists/pending_form_to_view.xml
@@ -61,10 +61,8 @@ Base_viewSearchResultList?validation_state=pending&reset=1
             <key> <string>roles</string> </key>
             <value>
               <tuple>
-                <string>Auditor</string>
                 <string>Assignee</string>
                 <string>Assignor</string>
-                <string>Associate</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_egov/bt/change_log b/bt5/erp5_egov/bt/change_log
index a6241cf866..6b006fac2b 100644
--- a/bt5/erp5_egov/bt/change_log
+++ b/bt5/erp5_egov/bt/change_log
@@ -1,3 +1,7 @@
+2010-07-08 mayoro
+* remove wrong condition
+* change pending worklist permissions
+
 2010-07-08 mayoro
 * add tabber-cookie.js
 * order action buttons on header workspaces
diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision
index e34fb7d853..00607554c6 100644
--- a/bt5/erp5_egov/bt/revision
+++ b/bt5/erp5_egov/bt/revision
@@ -1 +1 @@
-716
\ No newline at end of file
+718
\ No newline at end of file
-- 
2.30.9