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/09/29 15:53:45 UTC
[incubator-datalab] 02/02: fix
This is an automated email from the ASF dual-hosted git repository.
dyankiv pushed a commit to branch DATALAB-3068
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 9755f93bb3c818f4119f9d45551201afbb08111d
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