Repository navigation
fix(groups): keep a group's address book with its organizers - #725
Merged
Merged
Conversation
A group's address book could be listed by anyone when the group was public, and by any member when it was private. An address book location may be used only by a members-only huddl or a draft, or by no huddl at all, so the list handed out addresses to people who could not see any huddl held there. Only the group's owner and organizers now read the address book, the same people who can change it. Everyone else learns a place from a huddl they can see: the huddl keeps its own address, map place and coordinates, and a new location_name aggregate carries the location's name onto the huddl page and its structured data without reading the address book as the viewer.
- scheduling a huddl with a saved location from another group's address book now says what it says for a location that does not exist - the Locations page reads a location again as the person before looking up how many huddlz use it, so a role lost while the page is open counts - the rename scenarios check the refusal itself and read the name back as the owner, with the owner's own rename as the control
Naming an address book location on an online huddl stored it unchecked, whichever group it belonged to, and the huddl would then show its name. An online huddl has no saved location, so one named on it is dropped. The GraphQL rename scenario now requires the not-found answer.
The location name is read with authorization off, by the stored location id alone. A row written before a huddl's location was checked against its group could carry another group's location, and its name would show on the huddl. The name is now read only from the huddl's own group.
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
…vocation * origin/main: fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734)
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
…-tokens * origin/main: fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734)
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
…arer-token * origin/main: fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734) # Conflicts: # lib/huddlz_web/graphql_socket.ex
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
…n-escaping * origin/main: fix(api): authenticate API, GraphQL and MCP from the bearer alone (#729) fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725)
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
…dl-links * origin/main: fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734)
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
…mutations * origin/main: fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734)
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
…ership * origin/main: fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734)
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
* origin/main: fix(auth): bind administrator viewing credentials to the browser session (#736) fix(api): authenticate API, GraphQL and MCP from the bearer alone (#729) fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725)
mwoods79
added a commit
that referenced
this pull request
Nov 30, 2026
…r-leave * origin/main: fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734)
mwoods79
added a commit
that referenced
this pull request
Dec 1, 2026
* origin/main: fix(auth): have open pages follow a change of access (#735) fix(groups): authorize membership changes against their roster (#739) fix(auth): bind administrator viewing credentials to the browser session (#736) fix(api): authenticate API, GraphQL and MCP from the bearer alone (#729) fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734)
mwoods79
added a commit
that referenced
this pull request
Dec 1, 2026
…d-sorts * origin/main: fix(auth): have open pages follow a change of access (#735) fix(groups): authorize membership changes against their roster (#739) fix(auth): bind administrator viewing credentials to the browser session (#736) fix(api): authenticate API, GraphQL and MCP from the bearer alone (#729) fix(api): accept only sign-in tokens on the GraphQL socket (#730) fix(huddl): tie organizer-only huddl details to the current role (#726) fix(groups): keep a group's address book with its organizers (#725) fix(discover): noindex empty filtered public discovery responses (#734)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A group's address book is read only by the group's owner and organizers, the same people who can change it. Everyone else learns a place from a huddl they can see.
location_nameis a non-public aggregate on the huddl. It is the one internal path from a huddl to its address book location, so the name still shows to everyone who can see the huddl. Huddl API responses are unchanged.Evidence
After: all six rows pass, and the owner and organizer rows still list it.
The existing scenario "A crawler and visitor can identify a named huddl location" still passes, now through
location_name.saved_location_scope_test.exs): an online huddl updated with another group's address book location kept it.After: the location is dropped and the huddl shows no location name.
Merge Danger
Door: two-way
A policy change with no migration and no data change; reverting restores the old read.
Blast Radius: API
group_locations/groupLocationswithout owning or organizing the group now gets an empty list rather than an error.