Right now the locationGet endpoint returns all locations without filtering by visibility. However, the logic should be as follow:
Event Form (in location combobox):
- Public locations
- User's own private locations (if logged in)
Event Page (browsing):
- Public locations
- User's own private locations (if logged in)
- Locations from events they're invited to (if logged in)
We could use a query parameter:
- GET /locations?includeInvited=true → includes invited locations (for event feed page)
- GET /locations → just public + own private (for Event Form)
Needed for this: implement the "Invited to" logic in BE
Right now the locationGet endpoint returns all locations without filtering by visibility. However, the logic should be as follow:
Event Form (in location combobox):
Event Page (browsing):
We could use a query parameter:
Needed for this: implement the "Invited to" logic in BE