fix permissions

This commit is contained in:
vfedosevich 2013-12-19 15:30:40 +03:00
parent 5b75dc1b0b
commit 51c041806b

View file

@ -501,9 +501,9 @@ namespace WebsitePanel.EnterpriseServer
foreach (ExchangeAccount tmpAccount in tmpAccounts.ToArray()) foreach (ExchangeAccount tmpAccount in tmpAccounts.ToArray())
{ {
if (tmpAccount.AccountType == ExchangeAccountType.SecurityGroup || tmpAccount.AccountType == ExchangeAccountType.SecurityGroup if (tmpAccount.AccountType == ExchangeAccountType.SecurityGroup || tmpAccount.AccountType == ExchangeAccountType.DefaultSecurityGroup
? OrganizationController.GetSecurityGroupGeneralSettings(itemId, tmpAccount.AccountId) == null ? OrganizationController.GetSecurityGroupGeneralSettings(itemId, tmpAccount.AccountId) == null
: OrganizationController.GetSecurityGroupGeneralSettings(itemId, tmpAccount.AccountId) == null) : OrganizationController.GetUserGeneralSettings(itemId, tmpAccount.AccountId) == null)
continue; continue;
exAccounts.Add(tmpAccount); exAccounts.Add(tmpAccount);