Removes more usages of legacy Access class to use new IPublicAccessService
This commit is contained in:
@@ -106,7 +106,7 @@ namespace Umbraco.Web.Trees
|
||||
if (entity.HasPendingChanges)
|
||||
node.SetHasUnpublishedVersionStyle();
|
||||
|
||||
if (Access.IsProtected(e.Id, e.Path))
|
||||
if (Services.PublicAccessService.IsProtected(e.Path))
|
||||
node.SetProtectedStyle();
|
||||
|
||||
return node;
|
||||
|
||||
Reference in New Issue
Block a user