Fixed wsp-10103 WSP - NO DNS Server - Customer Subdomain
This commit is contained in:
parent
7d52452736
commit
73cd732e6d
1 changed files with 4 additions and 1 deletions
|
@ -64,11 +64,14 @@ namespace WebsitePanel.Portal
|
|||
ShowErrorMessage("DOMAIN_GET_DOMAIN", ex);
|
||||
}
|
||||
|
||||
if (PanelSecurity.LoggedUser.Role == UserRole.User)
|
||||
DomainType type = GetDomainType(Request["DomainType"]);
|
||||
|
||||
if ((PanelSecurity.LoggedUser.Role == UserRole.User) & (type != DomainType.SubDomain))
|
||||
{
|
||||
if (!PackagesHelper.CheckGroupQuotaEnabled(PanelSecurity.PackageId, ResourceGroups.Dns, Quotas.DNS_EDITOR))
|
||||
this.DisableControls = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void BindControls()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue