Merge
This commit is contained in:
commit
99bfd8a853
1 changed files with 10 additions and 4 deletions
|
@ -4484,6 +4484,14 @@ namespace WebsitePanel.Providers.HostedSolution
|
||||||
ExchangeLog.LogEnd("CheckOrganizationRootFolder");
|
ExchangeLog.LogEnd("CheckOrganizationRootFolder");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void CheckOrganizationRootPublicFolderPermission(Runspace runSpace, string organizationId)
|
||||||
|
{
|
||||||
|
string rootFolder = "\\" + organizationId;
|
||||||
|
|
||||||
|
// exchange transport needs access to create new items in order to deliver email
|
||||||
|
AddPublicFolderClientPermission(runSpace, rootFolder, "Anonymous", "CreateItems");
|
||||||
|
}
|
||||||
|
|
||||||
public string CreateOrganizationRootPublicFolder(string organizationId, string organizationDistinguishedName, string securityGroup, string organizationDomain)
|
public string CreateOrganizationRootPublicFolder(string organizationId, string organizationDistinguishedName, string securityGroup, string organizationDomain)
|
||||||
{
|
{
|
||||||
ExchangeLog.LogStart("CreateOrganizationRootPublicFolder");
|
ExchangeLog.LogStart("CreateOrganizationRootPublicFolder");
|
||||||
|
@ -4506,10 +4514,7 @@ namespace WebsitePanel.Providers.HostedSolution
|
||||||
|
|
||||||
res = orgCanonicalName + "/" + GetPublicFolderMailboxName(organizationId);
|
res = orgCanonicalName + "/" + GetPublicFolderMailboxName(organizationId);
|
||||||
|
|
||||||
string rootFolder = "\\" + organizationId;
|
CheckOrganizationRootPublicFolderPermission(runSpace, organizationId);
|
||||||
|
|
||||||
// exchange transport needs access to create new items in order to deliver email
|
|
||||||
AddPublicFolderClientPermission(runSpace, rootFolder, "Anonymous", "CreateItems");
|
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -4751,6 +4756,7 @@ namespace WebsitePanel.Providers.HostedSolution
|
||||||
System.Threading.Thread.Sleep(5000);
|
System.Threading.Thread.Sleep(5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CheckOrganizationRootPublicFolderPermission(runSpace, organizationId);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue