cycleplanet / cycle-planet

Official Cycle Planet repo, an open source and non-profit network of long distance cyclers and those who want to host them.
https://cycleplanet.org/
MIT License
10 stars 4 forks source link

Non logged in users should be able to see POI markers and wiki pages #107

Open reinierl opened 2 years ago

reinierl commented 2 years ago

User story

As a user just looking at CyclePlanet for the first time I want to see the POI markers and wiki pages so I can plan my trip without signing up with this app I don't really trust or care much about yet.

Background

Since #30 we've removed navigation to the map for non-registered users because the current Map code refers to user profiles in a lot of places. That would lead to errors and missing data for non-registered users who are prevented by the Firebase Security Rules from reading user profiles.

So in order to give these people access to POI markers and wiki pages again, we have to check all the code behind finding and reading those and make sure they work for people who can't read user profiles.