Fixes: U4-459 Public Access permissions not set on distributed servers
This commit is contained in:
@@ -13,6 +13,17 @@ namespace Umbraco.Web.Cache
|
||||
/// </summary>
|
||||
internal static class DistributedCacheExtensions
|
||||
{
|
||||
#region Public access
|
||||
|
||||
public static void RefreshPublicAccess(this DistributedCache dc)
|
||||
{
|
||||
dc.RefreshByJson(new Guid(DistributedCache.PublicAccessCacheRefresherId),
|
||||
PublicAccessCacheRefresher.SerializeToJsonPayload(
|
||||
Access.GetXmlDocumentCopy()));
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Application tree cache
|
||||
public static void RefreshAllApplicationTreeCache(this DistributedCache dc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user