Merge
This commit is contained in:
commit
fc113d519c
1 changed files with 2 additions and 0 deletions
|
@ -57,12 +57,14 @@ namespace WebsitePanel.Portal.ExchangeServer
|
||||||
btnCreate.Enabled = (!(cntx.Quotas[Quotas.ORGANIZATIONS].QuotaAllocatedValue <= gvOrgs.Rows.Count) || (cntx.Quotas[Quotas.ORGANIZATIONS].QuotaAllocatedValue == -1));
|
btnCreate.Enabled = (!(cntx.Quotas[Quotas.ORGANIZATIONS].QuotaAllocatedValue <= gvOrgs.Rows.Count) || (cntx.Quotas[Quotas.ORGANIZATIONS].QuotaAllocatedValue == -1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if (PanelSecurity.LoggedUser.Role == UserRole.User)
|
if (PanelSecurity.LoggedUser.Role == UserRole.User)
|
||||||
{
|
{
|
||||||
gvOrgs.Columns[2].Visible = gvOrgs.Columns[3].Visible = gvOrgs.Columns[5].Visible = false;
|
gvOrgs.Columns[2].Visible = gvOrgs.Columns[3].Visible = gvOrgs.Columns[5].Visible = false;
|
||||||
btnCreate.Enabled = false;
|
btnCreate.Enabled = false;
|
||||||
btnSetDefaultOrganization.Enabled = false;
|
btnSetDefaultOrganization.Enabled = false;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (!Page.IsPostBack)
|
if (!Page.IsPostBack)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue