NIFI-3023:

- Verifying permissions prior to checking Remote Process Group transmission status.
This commit is contained in:
Matt Gilman 2016-11-10 15:21:49 -05:00 committed by Scott Aslan
parent b0f6825e09
commit 2c91a1a33d
1 changed files with 2 additions and 2 deletions

View File

@ -715,14 +715,14 @@ nf.RemoteProcessGroup = (function () {
return d.permissions.canRead && !nf.Common.isEmpty(d.component.authorizationIssues); return d.permissions.canRead && !nf.Common.isEmpty(d.component.authorizationIssues);
}) })
.classed('transmitting', function (d) { .classed('transmitting', function (d) {
if (d.component.transmitting === true) { if (d.permissions.canRead && d.component.transmitting === true) {
return true; return true;
} else { } else {
return false; return false;
} }
}) })
.classed('not-transmitting', function (d) { .classed('not-transmitting', function (d) {
if (d.component.transmitting !== true) { if (d.permissions.canRead && d.component.transmitting !== true) {
return true; return true;
} else { } else {
return false; return false;