Skip to content

Commit

Permalink
fix: secure getDeclarativeManifestBaseImage with AUTHENTICATED_USER (…
Browse files Browse the repository at this point in the history
…#13641)
  • Loading branch information
Ella Rohm-Ensing committed Aug 22, 2024
1 parent 7589d84 commit c969695
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

package io.airbyte.server.apis;

import static io.airbyte.commons.auth.AuthRoleConstants.AUTHENTICATED_USER;
import static io.airbyte.commons.auth.AuthRoleConstants.ORGANIZATION_EDITOR;
import static io.airbyte.commons.auth.AuthRoleConstants.ORGANIZATION_READER;
import static io.airbyte.commons.auth.AuthRoleConstants.WORKSPACE_EDITOR;
Expand Down Expand Up @@ -97,7 +98,7 @@ public SourceDefinitionIdBody publishConnectorBuilderProject(@Body final Connect
@Override
@Post(uri = "/get_base_image")
@Status(HttpStatus.OK)
@Secured({WORKSPACE_EDITOR, ORGANIZATION_EDITOR})
@Secured({AUTHENTICATED_USER})
public DeclarativeManifestBaseImageRead getDeclarativeManifestBaseImage(@Body final DeclarativeManifestRequestBody requestBody) {
return ApiHelper.execute(() -> connectorBuilderProjectsHandler.getDeclarativeManifestBaseImage(requestBody));
}
Expand Down

0 comments on commit c969695

Please sign in to comment.