Page MenuHomePhabricator

[Clickwrap] Clickwrap agreement organiser backend
Closed, ResolvedPublic

Description

Acceptance criteria

As an organiser

  • When I agree to the clickwrap agreement
  • The time of this agreement must be submitted to be stored

As a security analyst
* When an organiser declines a clickwrap agreement
* They must not be able to enable participant questions (Not for MVP)

Design

N/A

External dependencies
Other dependencies

Event Timeline

MHorsey-WMF renamed this task from [Clickwrap] Clickwrap agreement backend to [Clickwrap] Clickwrap agreement organiser backend.Jun 22 2023, 1:55 PM
MHorsey-WMF triaged this task as Medium priority.

The AC say:

When an organiser declines a clickwrap agreement
They must not be able to enable participant questions

but I guess this would have to be updated? For now, organizers can't choose to enable questions. What they would not be allowed to do is view the answers, but I assume that'll be an AC for the frontend task.

FTR: I considered starting this, but I wanted to see (a draft of) the latest prototypes first, to have a better sense of how this would work exactly. That way I could implement only the functionality that we actually need.

@Daimona that's fair.

Since this is a per-user + per-event value, where should it be stored? I can't recall what we discussed

Since this is a per-user + per-event value, where should it be stored? I can't recall what we discussed

It's in the ce_organizers table, see T337768.

MHorsey-WMF changed the task status from Stalled to In Progress.Aug 16 2023, 12:41 PM
MHorsey-WMF claimed this task.

Taking this task contingent on agreement with @VPuffetMichel that we will only apply clickwrap to private information, non-private information will be available without agreeing to clickwrap

Change 960609 had a related patch set uploaded (by Mhorsey; author: Mhorsey):

[mediawiki/extensions/CampaignEvents@master] Store clickwrap datestamp when accepted

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

Change 960609 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Store clickwrap datestamp when accepted

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

vaughnwalters added a subscriber: vaughnwalters.

There will be a UI component soon, but nothing to test in QA yet. Marking this as done / resolved.