Fixes back office check, adds more tests, changes area to be a constant

This commit is contained in:
Shannon
2020-06-09 13:01:05 +10:00
parent ed2aba49d6
commit 9b991f3882
30 changed files with 64 additions and 30 deletions

View File

@@ -26,7 +26,7 @@ namespace Umbraco.Web.BackOffice.Controllers
/// The security for this controller is defined to allow full CRUD access to dictionary if the user has access to either:
/// Dictionary
/// </remarks>
[PluginController("UmbracoApi")]
[PluginController(Constants.Web.Mvc.BackOfficeApiArea)]
[UmbracoTreeAuthorize(Constants.Trees.Dictionary)]
public class DictionaryController : BackOfficeNotificationsController
{