Skip to content

Commit

Permalink
Merge pull request #9361 from umbraco/v8/bug/logviewer-access
Browse files Browse the repository at this point in the history
Limit access to logviewer endpoints to people with access to the settings section
  • Loading branch information
Claus committed Nov 9, 2020
2 parents 620c11c + bd4c2cd commit 7701a0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Umbraco.Web/Editors/LogViewerController.cs
Expand Up @@ -6,13 +6,15 @@
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi;
using Umbraco.Web.WebApi.Filters;

namespace Umbraco.Web.Editors
{
/// <summary>
/// Backoffice controller supporting the dashboard for viewing logs with some simple graphs & filtering
/// </summary>
[PluginController("UmbracoApi")]
[UmbracoApplicationAuthorize(Core.Constants.Applications.Settings)]
public class LogViewerController : UmbracoAuthorizedJsonController
{
private readonly ILogViewer _logViewer;
Expand Down

0 comments on commit 7701a0f

Please sign in to comment.