CLOUDSTACK-4168: Root Admin should be able to create 'ExplicitDedication' 
affinity group at domain level and make it available for all accounts in the 
domain

Changes:
- Include the new AffinityGroupAccessChecker in all *ComponentContext.xml.in


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c1c3c965
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c1c3c965
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c1c3c965

Branch: refs/heads/master
Commit: c1c3c96588a93fa424bee34febdb92e48f4601db
Parents: ef22b42
Author: Prachi Damle <[email protected]>
Authored: Tue Aug 13 11:11:52 2013 -0700
Committer: Prachi Damle <[email protected]>
Committed: Tue Sep 3 20:02:41 2013 -0700

----------------------------------------------------------------------
 client/tomcatconf/nonossComponentContext.xml.in    | 1 +
 client/tomcatconf/simulatorComponentContext.xml.in | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c1c3c965/client/tomcatconf/nonossComponentContext.xml.in
----------------------------------------------------------------------
diff --git a/client/tomcatconf/nonossComponentContext.xml.in 
b/client/tomcatconf/nonossComponentContext.xml.in
index 9bcc97c..0502bbc 100644
--- a/client/tomcatconf/nonossComponentContext.xml.in
+++ b/client/tomcatconf/nonossComponentContext.xml.in
@@ -243,6 +243,7 @@
   <bean id="securityCheckers" class="com.cloud.utils.component.AdapterList">
     <property name="Adapters">
       <list>
+             <ref bean="affinityGroupAccessChecker"/>
           <ref bean="domainChecker"/>
       </list>
     </property>

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c1c3c965/client/tomcatconf/simulatorComponentContext.xml.in
----------------------------------------------------------------------
diff --git a/client/tomcatconf/simulatorComponentContext.xml.in 
b/client/tomcatconf/simulatorComponentContext.xml.in
index 35bce28..82ff433 100644
--- a/client/tomcatconf/simulatorComponentContext.xml.in
+++ b/client/tomcatconf/simulatorComponentContext.xml.in
@@ -93,6 +93,7 @@
   <bean id="securityCheckers" class="com.cloud.utils.component.AdapterList">
     <property name="Adapters">
       <list>
+           <ref bean="affinityGroupAccessChecker"/>
         <ref bean="domainChecker"/>
       </list>
     </property>

Reply via email to