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

@@ -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) {