[
https://issues.apache.org/jira/browse/DRILL-6017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16282304#comment-16282304
]
ASF GitHub Bot commented on DRILL-6017:
---------------------------------------
Github user bitblender commented on a diff in the pull request:
https://github.com/apache/drill/pull/1064#discussion_r155606076
--- Diff: exec/java-exec/src/main/resources/rest/index.ftl ---
@@ -112,7 +114,7 @@
</div>
</div>
- <#if model.shouldShowUserInfo()>
+ <#if model.shouldShowAdminInfo()>
--- End diff --
I have added the check around the shutdown JS code.
> Fix for SHUTDOWN button being visible for non Admin users
> ---------------------------------------------------------
>
> Key: DRILL-6017
> URL: https://issues.apache.org/jira/browse/DRILL-6017
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.12.0
> Reporter: Arina Ielchiieva
> Assignee: Karthikeyan Manivannan
> Priority: Blocker
> Labels: ready-to-commit
> Fix For: 1.12.0
>
>
> DRILL-4286 introduces shutdown button on index page but when authorization is
> enabled it should be visible only to admin users.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)