This is an automated email from the ASF dual-hosted git repository. dyankiv pushed a commit to branch DATALAB-2990 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 563697fee8e01322047a1cbb8cf7a36e7d6b41d0 Author: Denys Yankiv <[email protected]> AuthorDate: Fri Sep 9 13:02:31 2022 +0300 check if user can share image --- .../com/epam/datalab/backendapi/resources/ImageExploratoryResource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/ImageExploratoryResource.java b/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/ImageExploratoryResource.java index 1080a1c26..b75584520 100644 --- a/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/ImageExploratoryResource.java +++ b/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/ImageExploratoryResource.java @@ -120,6 +120,7 @@ public class ImageExploratoryResource { return Response.ok(imageExploratoryService.getImage(ui.getName(), name, project, endpoint)).build(); } + @RolesAllowed("/api/image/share") @POST @Path("share") public Response shareImage(@Auth UserInfo ui, @Valid @NotNull ImageShareDTO dto) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
