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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user