Disables actions according to RBAC privilege

* Removes the toolbox if user doesn't have permission to edit
* Fixes the extra click that was identified with the context menu
* Adds new readonly version of the move FSM
* Adds an enhancement to debug directive to align the text better
* Disables the toolbox FSM if user doesn't have permission to edit
This commit is contained in:
Jared Tabor
2018-03-19 20:09:14 -07:00
committed by Ben Thomasson
parent 96b3ebd31e
commit 82ec0d4d4b
13 changed files with 393 additions and 127 deletions

View File

@@ -67,7 +67,7 @@
</g>
</g> <!-- end frame_g -->
<g ng-repeat="toolbox in [inventory_toolbox]">
<g awx-net-inventory-toolbox></g>
<g awx-net-inventory-toolbox ng-if="canEdit"></g>
</g>
<g awx-net-context-menu
context_menu="context_menus[0]"