Skip to content

Network calendar feed and export: only approved events of approved groups - #951

Open
edwh wants to merge 1 commit into
developfrom
network-feed-export-approved-only
Open

edwh wants to merge 1 commit into
developfrom
network-feed-export-approved-only

Conversation

@edwh

@edwh edwh commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Split out of #945.

What changes

  • Network calendar feed (/calendar/network/{id}, anonymous). Before, it listed every non-deleted event of every group in the network, including events still awaiting approval and events of groups that haven't been approved. Now it lists only approved events of approved groups.
  • Network event export (/export/networks/{id}/events, anonymous CSV). Same change: before, it included unapproved events and unapproved groups' events; now it includes only approved events of approved groups.

Both URLs need no login, so anyone with a network id could see events that hadn't been approved yet.

Tests: CalendarTest::testByNetworkExcludesUnapproved; ExportTest now expects the unapproved group's event to be left out of the network export.

…only

The anonymous network iCal feed and network events CSV export included
events awaiting approval and events of unapproved groups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant