Grant access to get all content types so content templates can be moved to content section

This commit is contained in:
Bjarne Fyrstenborg
2021-12-28 12:28:25 +01:00
committed by Sebastiaan Janssen
parent 8c5a5af41b
commit 169d07b0cc

View File

@@ -433,7 +433,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
/// <summary>
/// Returns all content type objects
/// </summary>
[Authorize(Policy = AuthorizationPolicies.TreeAccessDocumentTypes)]
[Authorize(Policy = AuthorizationPolicies.TreeAccessDocumentsOrDocumentTypes)]
public IEnumerable<ContentTypeBasic> GetAll()
{
var types = _contentTypeService.GetAll();