mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 03:45:01 -02:30
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:
committed by
Ben Thomasson
parent
96b3ebd31e
commit
82ec0d4d4b
@@ -383,10 +383,10 @@ _ContextMenu.prototype.end = function (controller) {
|
||||
|
||||
_ContextMenu.prototype.onMouseDown = function (controller) {
|
||||
|
||||
controller.changeState(Ready);
|
||||
controller.changeState(Selected2);
|
||||
|
||||
};
|
||||
_ContextMenu.prototype.onMouseDown.transitions = ['Ready'];
|
||||
_ContextMenu.prototype.onMouseDown.transitions = ['Selected2'];
|
||||
|
||||
_ContextMenu.prototype.onDetailsPanel = function (controller, msg_type, $event) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user