You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dy...@apache.org on 2022/10/11 12:32:01 UTC

[incubator-datalab] 02/06: fix

This is an automated email from the ASF dual-hosted git repository.

dyankiv pushed a commit to branch epm-v2.5.2.1
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 267df45f93a4c0ca259a11522311906117526784
Author: Denys Yankiv <de...@gmail.com>
AuthorDate: Thu Sep 29 18:52:59 2022 +0300

    fix
---
 .../datalab/backendapi/service/impl/InfrastructureInfoServiceImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/java/com/epam/datalab/backendapi/service/impl/InfrastructureInfoServiceImpl.java b/services/self-service/src/main/java/com/epam/datalab/backendapi/service/impl/InfrastructureInfoServiceImpl.java
index c1b122dd1..069a66916 100644
--- a/services/self-service/src/main/java/com/epam/datalab/backendapi/service/impl/InfrastructureInfoServiceImpl.java
+++ b/services/self-service/src/main/java/com/epam/datalab/backendapi/service/impl/InfrastructureInfoServiceImpl.java
@@ -132,7 +132,7 @@ public class InfrastructureInfoServiceImpl implements InfrastructureInfoService
                 .connectedPlatforms(HealthStatusPageDTO.ConnectedPlatforms.builder()
                         .view(checkAccess(userInfo, CONNECTED_PLATFORMS_PERMISSION_VIEW))
                         .add(checkAccess(userInfo, CONNECTED_PLATFORMS_PERMISSION_ADD))
-                        .disconnect(checkAccess(userInfo, CONNECTED_PLATFORMS_PERMISSION_VIEW))
+                        .disconnect(checkAccess(userInfo, CONNECTED_PLATFORMS_PERMISSION_DISCONNECT))
                 .build())
                 .build();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org