Skip to content

Location filtering by visibility in BE #106

Description

@AudreyBil

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions