Fixes: U4-459 Public Access permissions not set on distributed servers

This commit is contained in:
Shannon
2014-03-27 16:11:34 +11:00
parent cde3c42cec
commit c309e18f13
8 changed files with 486 additions and 266 deletions

View File

@@ -139,9 +139,19 @@ namespace Umbraco.Web.Cache
//NOTE: we do not listen for the trashed event because there is no cache to update for content in that case since
// the unpublishing event handles that, and for examine with unpublished content indexes, we want to keep that data
// in the index, it's not until it's complete deleted that we want to remove it.
//public access events
Access.AfterSave += Access_AfterSave;
}
#region Public access event handlers
static void Access_AfterSave(Access sender, SaveEventArgs e)
{
DistributedCache.Instance.RefreshPublicAccess();
}
#endregion
#region Content service event handlers