Skip to content

Add AdminLocationsEndpoint returning senstive Location data

Julian Menzler requested to merge julian/add_admin_locations_api into main

Admins should see Location creator email addresses

A Location's creator email address should only be visible to the admins. Therefore, the PublicLocationsEndpoint does not forward this information to end users.

Admins, however, should see this data. Therefore, this PR adds the AdminLocationsEndpoint REST endpoint and the associated logic.

Do not show Location creator email address on a Location's detail page

This PR changes the

  • SingleLocationEndpoint to return public Location data only
  • Frontend to not show the email field on the Location detail pages
Edited by Julian Menzler

Merge request reports