Add admin auth to export modal

This commit is contained in:
JonnyWong16
2020-08-05 21:22:21 -07:00
parent 906aedd2f1
commit db0b157d43

View File

@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# This file is part of Tautulli. # This file is part of Tautulli.
# #
@@ -6480,7 +6480,7 @@ class WebInterface(object):
return status return status
@cherrypy.expose @cherrypy.expose
@requireAuth() @requireAuth(member_of("admin"))
def export_metadata_modal(self, section_id=None, rating_key=None, **kwargs): def export_metadata_modal(self, section_id=None, rating_key=None, **kwargs):
return serve_template(templatename="export_modal.html", title="Export Metadata", return serve_template(templatename="export_modal.html", title="Export Metadata",