Skip to content

Commit

Permalink
CORE-1967 Allow anonymous access in /filesystem/metadata endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
psarando committed Mar 12, 2024
1 parent 0b88ec4 commit 64a4a03
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/server/api/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function metadataRouter() {
auth.authnTokenMiddleware,
terrainHandler({
method: "GET",
pathname: "/secured/filesystem/metadata/templates",
pathname: "/filesystem/metadata/templates",
})
);

Expand All @@ -37,7 +37,7 @@ export default function metadataRouter() {
auth.authnTokenMiddleware,
terrainHandler({
method: "GET",
pathname: "/secured/filesystem/metadata/template/:templateId",
pathname: "/filesystem/metadata/template/:templateId",
})
);

Expand All @@ -56,7 +56,7 @@ export default function metadataRouter() {
auth.authnTokenMiddleware,
terrainHandler({
method: "GET",
pathname: "/secured/filesystem/:dataId/metadata",
pathname: "/filesystem/:dataId/metadata",
})
);

Expand All @@ -66,7 +66,7 @@ export default function metadataRouter() {
auth.authnTokenMiddleware,
terrainHandler({
method: "POST",
pathname: "/secured/filesystem/:dataId/metadata",
pathname: "/filesystem/:dataId/metadata",
headers: {
"Content-Type": "application/json",
},
Expand All @@ -81,7 +81,7 @@ export default function metadataRouter() {
auth.authnTokenMiddleware,
terrainHandler({
method: "POST",
pathname: "/secured/filesystem/:dataId/metadata/save",
pathname: "/filesystem/:dataId/metadata/save",
headers: {
"Content-Type": "application/json",
},
Expand All @@ -94,7 +94,7 @@ export default function metadataRouter() {
auth.authnTokenMiddleware,
terrainHandler({
method: "POST",
pathname: "/secured/filesystem/metadata/csv-parser",
pathname: "/filesystem/metadata/csv-parser",
headers: {
"Content-Type": "application/json",
},
Expand Down

0 comments on commit 64a4a03

Please sign in to comment.