Skip to content

Let admins choose who coordinates can be shared with (0.4.0) - #8

Merged
mgilardi merged 2 commits into
mainfrom
share-audience
Nov 21, 2026
Merged

mgilardi merged 2 commits into
mainfrom
share-audience

Conversation

@mgilardi

Copy link
Copy Markdown
Contributor

D254: share.audience = off (default) | mayor | world | world-group | server. Mayor mode fails closed without Mayor 0.5.0+; unknown values are off; older configs keep their old behavior. Unit tests for every mode, fail-closed cases and migration. Not yet run live.

🤖 Generated with Claude Code

mgilardi and others added 2 commits November 21, 2026 14:18
D254: share.audience replaces enabled, candidates and require-mayor with
one setting: off (the default), mayor, world, world-group or server.
Mayor's mode stays off if Mayor 0.5.0+ isn't running, and an unknown
value counts as off. Older configs keep what their old keys gave them,
read without the jar's new defaults. Unit tests cover each mode, the
fail-closed cases and the old-key migration; not run on a live server.

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

From the safety review: the old defaults (require-mayor plus world
group) become a new mayor-world-group mode rather than mayor; old
all-online without Mayor becomes world-group, which is what it did with
no filtering plugin; and a Mayor older than 0.5.0 turns every mode off.
A test checks who is offered under each old combination.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mgilardi
mgilardi merged commit 2063777 into main Nov 21, 2026
2 checks passed
@mgilardi
mgilardi deleted the share-audience branch November 21, 2026 22:50
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