Webhosting: If WebPolicy is configured for dedicated application pool (checked)
this setting cannot be change by tenants and greyed out as such.
This commit is contained in:
parent
31fb739b18
commit
02c3967d27
1 changed files with 5 additions and 1 deletions
|
@ -108,6 +108,10 @@ namespace WebsitePanel.Portal
|
|||
chkDedicatedPool.Visible = PackagesHelper.CheckGroupQuotaEnabled(packageId, ResourceGroups.Web, Quotas.WEB_APPPOOLS);
|
||||
pnlDefaultDocuments.Visible = PackagesHelper.CheckGroupQuotaEnabled(packageId, ResourceGroups.Web, Quotas.WEB_DEFAULTDOCS);
|
||||
|
||||
UserSettings settings = ES.Services.Users.GetUserSettings(PanelSecurity.SelectedUserId, "WebPolicy");
|
||||
chkDedicatedPool.Checked = Utils.ParseBool(settings["EnableDedicatedPool"], false);
|
||||
|
||||
chkDedicatedPool.Enabled = !chkDedicatedPool.Checked;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue