mirror of https://github.com/apache/nifi.git
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:
parent
2c91a1a33d
commit
ae4f27a627
|
@ -715,18 +715,10 @@ 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.permissions.canRead && d.component.transmitting === true) {
|
return d.permissions.canRead && nf.Common.isEmpty(d.component.authorizationIssues) && d.component.transmitting === true;
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.classed('not-transmitting', function (d) {
|
.classed('not-transmitting', function (d) {
|
||||||
if (d.permissions.canRead && d.component.transmitting !== true) {
|
return d.permissions.canRead && nf.Common.isEmpty(d.component.authorizationIssues) && d.component.transmitting === false;
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.each(function (d) {
|
.each(function (d) {
|
||||||
// get the tip
|
// get the tip
|
||||||
|
|
Loading…
Reference in New Issue