fixed bugs

This commit is contained in:
vfedosevich 2013-10-02 16:53:37 +03:00
parent 789f1402a6
commit dc59d2fdbb
7 changed files with 65 additions and 9 deletions

View file

@ -90,7 +90,7 @@ namespace WebsitePanel.Portal.HostedSolution
// get settings
OrganizationUser user = ES.Services.Organizations.GetUserGeneralSettings(PanelRequest.ItemID, PanelRequest.AccountID);
groups.DistributionListsEnabled = (user.AccountType == ExchangeAccountType.Mailbox
groups.DistributionListsEnabled = EnableDistributionLists && (user.AccountType == ExchangeAccountType.Mailbox
|| user.AccountType == ExchangeAccountType.Room
|| user.AccountType == ExchangeAccountType.Equipment);