Filter all graph data for guests

This commit is contained in:
JonnyWong16 2016-04-26 20:18:49 -07:00
parent 545dd08535
commit c8b13ff5e1
5 changed files with 83 additions and 29 deletions

View file

@ -1109,6 +1109,8 @@ class WebInterface(object):
@cherrypy.expose
@requireAuth()
def history_table_modal(self, **kwargs):
if kwargs.get('user_id') and not allow_session_user(kwargs['user_id']):
return serve_template(templatename="history_table_modal.html", title="History Data", data=None)
return serve_template(templatename="history_table_modal.html", title="History Data", data=kwargs)