diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config
index 27a5f82b..6c7d9d64 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config
@@ -9,7 +9,7 @@
-->
-
+
@@ -17,7 +17,7 @@
-->
-
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx
index 52e6606c..366ff2ec 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx
@@ -99,7 +99,7 @@
-
+ |
|
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx.cs
index bfec236e..6b02e1ec 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserCreateSpace.ascx.cs
@@ -86,6 +86,7 @@ namespace WebsitePanel.Portal
bool webEnabled = false;
bool ftpEnabled = false;
bool mailEnabled = false;
+ bool integratedOUEnabled = false;
// load hosting context
if (planId > 0)
@@ -111,6 +112,7 @@ namespace WebsitePanel.Portal
ftpEnabled = cntx.Groups.ContainsKey(ResourceGroups.Ftp);
mailEnabled = cntx.Groups.ContainsKey(ResourceGroups.Mail);
+ integratedOUEnabled = cntx.Groups.ContainsKey(ResourceGroups.HostedOrganizations);
}
}
@@ -129,7 +131,7 @@ namespace WebsitePanel.Portal
ftpAccountName.Visible = (rbFtpAccountName.SelectedIndex == 1);
- chkIntegratedOUProvisioning.Visible = chkCreateResources.Visible;
+ chkIntegratedOUProvisioning.Checked = chkIntegratedOUProvisioning.Visible = (chkCreateResources.Visible && integratedOUEnabled);
}
private void CreateHostingSpace()