Ensuring read permissions to the ControllerService before attempting to check permissions to parent.
This closes
@@ -678,11 +678,11 @@ nf.ControllerServices = (function () {
if (dataContext.component.persistsState === true) {
markup += '<div title="View State" class="pointer view-state-controller-service fa fa-tasks" style="margin-top: 2px; margin-right: 3px;" ></div>';
}
- }
- if (dataContext.permissions.canWrite && canWriteControllerServiceParent(dataContext)) {
+ if (canWriteControllerServiceParent(dataContext)) {
markup += '<div class="pointer delete-controller-service fa fa-trash" title="Remove" style="margin-top: 2px; margin-right: 3px;" ></div>';
}
+ }
// allow policy configuration conditionally
if (nf.Canvas.isConfigurableAuthorizer() && nf.Common.canAccessTenants()) {
