mirror of https://github.com/apache/nifi.git
NIFI-3023:
- Verifying permissions prior to checking Remote Process Group transmission status.
This commit is contained in:
parent
b0f6825e09
commit
2c91a1a33d
|
@ -715,14 +715,14 @@ nf.RemoteProcessGroup = (function () {
|
|||
return d.permissions.canRead && !nf.Common.isEmpty(d.component.authorizationIssues);
|
||||
})
|
||||
.classed('transmitting', function (d) {
|
||||
if (d.component.transmitting === true) {
|
||||
if (d.permissions.canRead && d.component.transmitting === true) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
})
|
||||
.classed('not-transmitting', function (d) {
|
||||
if (d.component.transmitting !== true) {
|
||||
if (d.permissions.canRead && d.component.transmitting !== true) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue