Add AdminLocationsEndpoint returning senstive Location data
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