U4-9255 Not having access to settings section causes backoffice user to be logged out when browsing media list views

This commit is contained in:
Claus
2016-12-07 12:57:29 +01:00
parent f48ba93a01
commit 960040e51e

View File

@@ -49,6 +49,7 @@ namespace Umbraco.Web.Editors
return Services.ContentTypeService.CountContentTypes();
}
[UmbracoTreeAuthorize(Constants.Trees.MediaTypes, Constants.Trees.Media)]
public MediaTypeDisplay GetById(int id)
{
var ct = Services.ContentTypeService.GetMediaType(id);