From 9edef0c4833f7046115e623f5ee1a9d23c943d24 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Wed, 8 Apr 2015 16:17:55 -0400 Subject: [PATCH] adhoc for button not displayed if user doesn't have permission --- awx/ui/static/js/lists/InventoryGroups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/lists/InventoryGroups.js b/awx/ui/static/js/lists/InventoryGroups.js index f5ab0b4387..d7c0f9d972 100644 --- a/awx/ui/static/js/lists/InventoryGroups.js +++ b/awx/ui/static/js/lists/InventoryGroups.js @@ -81,7 +81,7 @@ export default actions: { launch: { mode: 'all', - // TODO: ngShow permissions + ngShow: 'inventory.can_run_ad_hoc_commands', ngClick: 'populateAdhocForm()', awToolTip: "Run a command on this inventory" // TODO: set up a tip watcher and change text based on when