cyverse-de / terrain

DE's main API entry-point service
Other
4 stars 9 forks source link

CORE-1967 Allow anonymous access in /filesystem/metadata endpoints #281

Closed psarando closed 7 months ago

psarando commented 7 months ago

This PR will add the secured-filesystem-metadata-routes to the optionally-authenticated-routes, allowing them to be accessed without the /secured prefix, and allowing anonymous access for the GET endpoints.

POST and CSV download endpoints still require authentication.

This is required in order for Local Contexts Labels and Notices to be viewed by logged out users for public data under Community Data folders.

psarando commented 7 months ago

Thanks for the review! 👍