You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by sc...@apache.org on 2016/11/14 21:26:38 UTC

[2/2] nifi git commit: NIFI-3023: - Ensuring there are no authorization issues prior to considering the remote process group's transmitting flag. This closes #1205

NIFI-3023:
- Ensuring there are no authorization issues prior to considering the remote process group's transmitting flag.
This closes #1205


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/ae4f27a6
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/ae4f27a6
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/ae4f27a6

Branch: refs/heads/master
Commit: ae4f27a627a14960d764aa330424745263edde8b
Parents: 2c91a1a
Author: Matt Gilman <ma...@gmail.com>
Authored: Mon Nov 14 15:16:28 2016 -0500
Committer: Scott Aslan <sc...@gmail.com>
Committed: Mon Nov 14 16:23:36 2016 -0500

----------------------------------------------------------------------
 .../main/webapp/js/nf/canvas/nf-remote-process-group.js | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/ae4f27a6/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group.js
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group.js
index d6df127..6e14bf6 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group.js
@@ -715,18 +715,10 @@ nf.RemoteProcessGroup = (function () {
                 return d.permissions.canRead && !nf.Common.isEmpty(d.component.authorizationIssues);
             })
             .classed('transmitting', function (d) {
-                if (d.permissions.canRead && d.component.transmitting === true) {
-                    return true;
-                } else {
-                    return false;
-                }
+                return d.permissions.canRead && nf.Common.isEmpty(d.component.authorizationIssues) && d.component.transmitting === true;
             })
             .classed('not-transmitting', function (d) {
-                if (d.permissions.canRead && d.component.transmitting !== true) {
-                    return true;
-                } else {
-                    return false;
-                }
+                return d.permissions.canRead && nf.Common.isEmpty(d.component.authorizationIssues) && d.component.transmitting === false;
             })
             .each(function (d) {
                 // get the tip