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);
|
||||
})
|
||||
.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
|
||||
|
|
Loading…
Reference in New Issue