Page MenuHomePhabricator

Implement distinction between PII and non-PII questions
Closed, ResolvedPublic

Description

Currently, there's no such distinction in the code, but there needs to be because the two would be treated differently, cfr T321822:

  • Organizers can see participants' answers to these questions in the UI, only for events which they are an assigned organizer:
    • For answers to questions marked (PII) above: if and only if there are 10+ responses, responses will be pulled into an aggregate view. Organizers will NOT be able to view PII answers associated with usernames.
    • For answers to questions marked (not PII) above: regardless of response count, responses will be pulled into both the participant list (associated with usernames) AND the aggregate view.

Acceptance criteria

  • The list of questions in the code differentiates between PII and non-PII questions.

Note: this will have no user-visible effect of any kind. This task is only about (transparently) introducing this distinction. Per above, user-facing effects will be visible when the aggregate view is implemented.

Event Timeline

Change 932342 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Questions: add a property to distinguish between PII vs non-PII

https://gerrit.wikimedia.org/r/932342

Change 932342 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Questions: add a property to distinguish between PII vs non-PII

https://gerrit.wikimedia.org/r/932342

Daimona removed a project: Patch-For-Review.

Closing per task description. Will be tested together with the aggregate view.