From 169d07b0cc7f7cf34ef772a6f17e2a3b4ff812b4 Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Tue, 28 Dec 2021 12:28:25 +0100 Subject: [PATCH] Grant access to get all content types so content templates can be moved to content section --- src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs b/src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs index 8282969013..99d22de939 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs @@ -433,7 +433,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers /// /// Returns all content type objects /// - [Authorize(Policy = AuthorizationPolicies.TreeAccessDocumentTypes)] + [Authorize(Policy = AuthorizationPolicies.TreeAccessDocumentsOrDocumentTypes)] public IEnumerable GetAll() { var types = _contentTypeService.GetAll();