NIFI-3023:

- Ensuring there are no authorization issues prior to considering the remote process group's transmitting flag.
This closes #1205
This commit is contained in:
Matt Gilman 2016-11-14 15:16:28 -05:00 committed by Scott Aslan
parent 2c91a1a33d
commit ae4f27a627
1 changed files with 2 additions and 10 deletions

View File

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