Skip to content

Remove the concealed checkbox from the Person form - #2223

Merged
moveson merged 2 commits into
masterfrom
oveson/claude/remove-person-concealed-checkbox
Aug 18, 2026
Merged

Remove the concealed checkbox from the Person form#2223
moveson merged 2 commits into
masterfrom
oveson/claude/remove-person-concealed-checkbox

Conversation

@moveson

@moveson moveson commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Removes the admin-only "Concealed (unsearchable)?" checkbox from the Person form and drops concealed from PersonParameters.permitted.

Person#concealed is publication state, not a privacy control: it is maintained automatically by the EventGroupQuery.set_concealed cascade, which sets it true exactly when all of a person's event groups are concealed and reveals the person as soon as any of their event groups goes live. Hand-editing the flag invites confusion with the actual per-person privacy controls (obscure_name, hide_age) and gets silently overwritten by the next cascade run touching the person's event groups.

The read-only "Concealed?" column on the admin people index is unchanged, so the state is still visible — it just can't be hand-edited anymore.

Testing

  • bundle exec rspec spec/system/visit_person_show_spec.rb — 8 examples, 0 failures
  • rubocop and erb_lint clean on touched files

🤖 Generated with Claude Code

moveson and others added 2 commits August 18, 2026 09:43
Person#concealed is publication state maintained automatically by the
EventGroupQuery.set_concealed cascade (a person is concealed when all
of their event groups are concealed). Hand-editing it invites confusion
with the actual privacy controls (obscure_name, hide_age) and gets
overwritten by the next cascade run, so remove it from the form and
from the permitted parameters.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@moveson
moveson merged commit 1ac092a into master Aug 18, 2026
12 of 14 checks passed
@moveson
moveson deleted the oveson/claude/remove-person-concealed-checkbox branch August 18, 2026 18:20
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