Add admin auth to export modal

This commit is contained in:
JonnyWong16 2020-08-05 21:22:21 -07:00
parent 906aedd2f1
commit db0b157d43
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -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",