From a4b75934e5a4737ba7721c33ad9a009060a8a246 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 14 Nov 2014 21:31:03 -0500 Subject: revise endpoint attributes --- MediaBrowser.Api/Library/LibraryStructureService.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'MediaBrowser.Api/Library/LibraryStructureService.cs') diff --git a/MediaBrowser.Api/Library/LibraryStructureService.cs b/MediaBrowser.Api/Library/LibraryStructureService.cs index f56daca1e..ee80d4b73 100644 --- a/MediaBrowser.Api/Library/LibraryStructureService.cs +++ b/MediaBrowser.Api/Library/LibraryStructureService.cs @@ -131,11 +131,11 @@ namespace MediaBrowser.Api.Library /// true if [refresh library]; otherwise, false. public bool RefreshLibrary { get; set; } } - + /// /// Class LibraryStructureService /// - [Authenticated] + [Authenticated(Roles = "Admin", AllowBeforeStartupWizard = true)] public class LibraryStructureService : BaseApiService { /// @@ -164,7 +164,6 @@ namespace MediaBrowser.Api.Library /// The app paths. /// The user manager. /// The library manager. - /// appPaths public LibraryStructureService(IServerApplicationPaths appPaths, IUserManager userManager, ILibraryManager libraryManager, ILibraryMonitor libraryMonitor, IFileSystem fileSystem, ILogger logger) { if (appPaths == null) -- cgit v1.2.3