Skip to content
Snippets Groups Projects
Commit 43d67584 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Turn off auth for dev


Signed-off-by: Martin Lowe's avatarMartin Lowe <martin.lowe@eclipse-foundation.org>
parent 0f3798d7
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ public class CatalogResource {
* @return response for the browser
*/
@PUT
@RolesAllowed({ "marketplace_catalog_put", "marketplace_admin_access" })
@PermitAll
public Response putCatalog(Catalog catalog) {
MongoQuery<Catalog> q = new MongoQuery<>(params, dtoFilter, cachingService);
// add the object, and await the result
......
......@@ -82,7 +82,7 @@ public class CategoryResource {
* @return response for the browser
*/
@PUT
@RolesAllowed({"marketplace_category_put", "marketplace_admin_access"})
@PermitAll
public Response putCategory(Category category) {
MongoQuery<Category> q = new MongoQuery<>(params, dtoFilter, cachingService);
// add the object, and await the result
......
......@@ -123,7 +123,7 @@ public class InstallResource {
* @return response for the browser
*/
@POST
@RolesAllowed({ "marketplace_install_put", "marketplace_admin_access" })
@PermitAll
@Path("/{listingId}/{version}")
public Response postInstallMetrics(@PathParam("listingId") String listingId, @PathParam("version") String version,
Install installDetails) {
......
......@@ -93,7 +93,7 @@ public class ListingResource {
* @return response for the browser
*/
@PUT
@RolesAllowed({ "marketplace_listing_put", "marketplace_admin_access" })
@PermitAll
public Response putListing(Listing listing) {
MongoQuery<Listing> q = new MongoQuery<>(params, dtoFilter, cachingService);
......
......@@ -10,6 +10,7 @@ import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import javax.annotation.security.PermitAll;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.ws.rs.Consumes;
......@@ -81,6 +82,7 @@ public class ListingVersionResource {
* @return response for the browser
*/
@PUT
@PermitAll
public Response putListingVersion(ListingVersion listingVersion) {
MongoQuery<ListingVersion> q = new MongoQuery<>(params, dtoFilter, cachingService);
// add the object, and await the result
......
......@@ -83,7 +83,7 @@ public class MarketResource {
* @return response for the browser
*/
@PUT
@RolesAllowed("market_put")
@PermitAll
public Response putMarket(Market market) {
MongoQuery<Market> q = new MongoQuery<>(params, dtoFilter, cachingService);
......
## OAUTH CONFIG
quarkus.oauth2.enabled=true
quarkus.oauth2.introspection-url=https://accounts.eclipse.org/oauth2/introspect
quarkus.oauth2.introspection-url=http://accounts.eclipse.org/oauth2/introspect
## LOGGER CONFIG
quarkus.log.file.enable=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment