From db0b157d4304e9aef91fe50bf69b7fc2853c5c8c Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Wed, 5 Aug 2020 21:22:21 -0700 Subject: [PATCH] Add admin auth to export modal --- plexpy/webserve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 711eb138..c19b92bd 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- # This file is part of Tautulli. # @@ -6480,7 +6480,7 @@ class WebInterface(object): return status @cherrypy.expose - @requireAuth() + @requireAuth(member_of("admin")) def export_metadata_modal(self, section_id=None, rating_key=None, **kwargs): return serve_template(templatename="export_modal.html", title="Export Metadata",