Added access to the dictionary tree with we have access to the templates tree.

This commit is contained in:
Bjarke Berg
2019-01-14 08:14:10 +01:00
parent 4566b88e37
commit aaedfe0309

View File

@@ -9,8 +9,13 @@ using Umbraco.Web.WebApi.Filters;
namespace Umbraco.Web.Trees
{
[UmbracoTreeAuthorize(Constants.Trees.Dictionary)]
[UmbracoTreeAuthorize(
Constants.Trees.Dictionary,
Constants.Trees.Templates
// We are allowed to see the dictionary tree, if we are allowed to manage templates, such that se can use the
// dictionary items in templates, even when we dont have authorization to manage the dictionary items
)]
[Mvc.PluginController("UmbracoTrees")]
[CoreTree(TreeGroup = Constants.Trees.Groups.Settings)]
[Tree(Constants.Applications.Translation, Constants.Trees.Dictionary, null)]