From cc2308c3992e064441fdcf6040ba20f532c0403d Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 9 Feb 2021 12:19:26 -0600 Subject: [PATCH] Fix some permission bugs when showing batch tools etc. --- tailbone/templates/batch/index.mako | 7 ++++++- tailbone/templates/master/index.mako | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/batch/index.mako b/tailbone/templates/batch/index.mako index 8d54facc..89358567 100644 --- a/tailbone/templates/batch/index.mako +++ b/tailbone/templates/batch/index.mako @@ -150,7 +150,7 @@ <%def name="modify_this_page_vars()"> ${parent.modify_this_page_vars()} - % if master.results_executable and master.has_perm('execute_multiple'): + % if master.results_refreshable and master.has_perm('refresh'): + % endif + % if master.results_executable and master.has_perm('execute_multiple'): +