Fixes issue 21560: Group admin role can assign system admin roles.
authorIoritz Cia <ioritz.cia@openbravo.com>
Fri, 14 Sep 2012 12:17:33 +0200
changeset 17961 df5204939921
parent 17960 1922c7ff8ac1
child 17962 ce2509bd136d
Fixes issue 21560: Group admin role can assign system admin roles.
src-db/database/sourcedata/AD_TAB.xml
--- a/src-db/database/sourcedata/AD_TAB.xml	Fri Sep 14 13:52:11 2012 +0200
+++ b/src-db/database/sourcedata/AD_TAB.xml	Fri Sep 14 12:17:33 2012 +0200
@@ -509,10 +509,12 @@
 <!--119-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
 <!--119-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
 <!--119-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--119-->  <WHERECLAUSE><![CDATA[AD_Role.ad_client_id = @#ad_client_id@]]></WHERECLAUSE>
 <!--119-->  <PROCESSING><![CDATA[N]]></PROCESSING>
 <!--119-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
 <!--119-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--119-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--119-->  <HQLWHERECLAUSE><![CDATA[client.id = @#ad_client_id@]]></HQLWHERECLAUSE>
 <!--119-->  <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
 <!--119-->  <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
 <!--119-->  <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>