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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to