Fixes bug 8276: Import Client should not be available for Admin role.
authorAreef Basha <areef.basha@openbravo.com>
Mon, 08 Jun 2009 15:20:27 +0530
changeset 3979 e61cd04cf663
parent 3978 f5ad0ee65c0d
child 3980 7ea6521d32dc
Fixes bug 8276: Import Client should not be available for Admin role.

Now the Import Client process access has been removed for the following roles.
[Accounting Test User,Accounting Test Admin,Openbravo Admin,RoleA,RoleB,RoleB11].
referencedata/sampledata/Accounting_Test.xml
referencedata/sampledata/SmallBazaar.xml
src-db/database/sourcedata/AD_PROCESS.xml
--- a/referencedata/sampledata/Accounting_Test.xml	Mon Jun 08 11:03:42 2009 +0200
+++ b/referencedata/sampledata/Accounting_Test.xml	Mon Jun 08 15:20:27 2009 +0530
@@ -7814,15 +7814,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943A70716CFE040007F01002944">
-    <id>5E4DB943A70716CFE040007F01002944</id>
-    <process id="970EAD9B846648A7AB1F0CCA5058356C"/>
-    <role id="1000006"/>
-    <client id="1000001"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="5E4DB943A70816CFE040007F01002944">
     <id>5E4DB943A70816CFE040007F01002944</id>
     <process id="A34A85C161B342E0916642E86842086F"/>
@@ -10406,15 +10397,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC1916CFE040007F01002944">
-    <id>5E4DB943AC1916CFE040007F01002944</id>
-    <process id="970EAD9B846648A7AB1F0CCA5058356C"/>
-    <role id="1000005"/>
-    <client id="1000001"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="5E4DB943AC1E16CFE040007F01002944">
     <id>5E4DB943AC1E16CFE040007F01002944</id>
     <process id="A34A85C161B342E0916642E86842086F"/>
--- a/referencedata/sampledata/SmallBazaar.xml	Mon Jun 08 11:03:42 2009 +0200
+++ b/referencedata/sampledata/SmallBazaar.xml	Mon Jun 08 15:20:27 2009 +0530
@@ -52213,42 +52213,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC1816CFE040007F01002944">
-    <id>5E4DB943AC1816CFE040007F01002944</id>
-    <process id="970EAD9B846648A7AB1F0CCA5058356C"/>
-    <role id="1000004"/>
-    <client id="1000000"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC1A16CFE040007F01002944">
-    <id>5E4DB943AC1A16CFE040007F01002944</id>
-    <process id="970EAD9B846648A7AB1F0CCA5058356C"/>
-    <role id="1000007"/>
-    <client id="1000000"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC1B16CFE040007F01002944">
-    <id>5E4DB943AC1B16CFE040007F01002944</id>
-    <process id="970EAD9B846648A7AB1F0CCA5058356C"/>
-    <role id="1000008"/>
-    <client id="1000000"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC1C16CFE040007F01002944">
-    <id>5E4DB943AC1C16CFE040007F01002944</id>
-    <process id="970EAD9B846648A7AB1F0CCA5058356C"/>
-    <role id="1000009"/>
-    <client id="1000000"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="5E4DB943AC1D16CFE040007F01002944">
     <id>5E4DB943AC1D16CFE040007F01002944</id>
     <process id="A34A85C161B342E0916642E86842086F"/>
--- a/src-db/database/sourcedata/AD_PROCESS.xml	Mon Jun 08 11:03:42 2009 +0200
+++ b/src-db/database/sourcedata/AD_PROCESS.xml	Mon Jun 08 15:20:27 2009 +0530
@@ -5882,7 +5882,7 @@
 <!--970EAD9B846648A7AB1F0CCA5058356C-->  <NAME><![CDATA[Import Client]]></NAME>
 <!--970EAD9B846648A7AB1F0CCA5058356C-->  <DESCRIPTION><![CDATA[Import a client from xml]]></DESCRIPTION>
 <!--970EAD9B846648A7AB1F0CCA5058356C-->  <HELP><![CDATA[Import a client and its data from a xml file]]></HELP>
-<!--970EAD9B846648A7AB1F0CCA5058356C-->  <ACCESSLEVEL><![CDATA[7]]></ACCESSLEVEL>
+<!--970EAD9B846648A7AB1F0CCA5058356C-->  <ACCESSLEVEL><![CDATA[4]]></ACCESSLEVEL>
 <!--970EAD9B846648A7AB1F0CCA5058356C-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
 <!--970EAD9B846648A7AB1F0CCA5058356C-->  <ISREPORT><![CDATA[N]]></ISREPORT>
 <!--970EAD9B846648A7AB1F0CCA5058356C-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>