From 3e1ea6f9135555520256caa23232c421d83aaf06 Mon Sep 17 00:00:00 2001 From: Andrew DeMaria Date: Thu, 14 Jun 2018 19:39:36 -0400 Subject: [PATCH] Fix #749 Ensure transcode settings are protected Signed-off-by: Andrew DeMaria --- .../java/org/airsonic/player/security/GlobalSecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airsonic-main/src/main/java/org/airsonic/player/security/GlobalSecurityConfig.java b/airsonic-main/src/main/java/org/airsonic/player/security/GlobalSecurityConfig.java index 6cfb9c4e..7ea77579 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/security/GlobalSecurityConfig.java +++ b/airsonic-main/src/main/java/org/airsonic/player/security/GlobalSecurityConfig.java @@ -133,7 +133,7 @@ public class GlobalSecurityConfig extends GlobalAuthenticationConfigurerAdapter "/playerSettings*", "/shareSettings*", "/passwordSettings*") .hasRole("SETTINGS") .antMatchers("/generalSettings*", "/advancedSettings*", "/userSettings*", - "/musicFolderSettings*", "/databaseSettings*", "/rest/startScan*") + "/musicFolderSettings*", "/databaseSettings*", "/transcodeSettings*", "/rest/startScan*") .hasRole("ADMIN") .antMatchers("/deletePlaylist*", "/savePlaylist*", "/db*") .hasRole("PLAYLIST")