mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Add admin auth to export modal
This commit is contained in:
parent
906aedd2f1
commit
db0b157d43
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue