####User story:
As a **logged out user**, I want the option to interact with a StructuredDiscussions thread without creating a permanent account AND without my IP address displaying publiclydon't want my IP address displaying publicly, because I value privacy and don't care to create an account.
####Decision needed:
Should we update StructuredDiscussions to accommodate temporary accounts? No, this would require work on a complex extension that is slated for sunsetting {T332022}.
Should we prevent logged out edits to StructuredDiscussions threads?
Should we schedule the sunsetting work of StructuredDiscussions to align with the temporary accounts rollout? For example, provide further communication about sunsetting flow, because I value privacy and don't care to create an accountand lock existing Flow threads at a certain date.
----
####Background:
Project documentation: [[ https://meta.wikimedia.org/wiki/IP_Editing:_Privacy_Enhancement_and_Abuse_Mitigation | IP Editing: Privacy Enhancement and Abuse Mitigation ]]
####Scope of this task:
This task and all subtasks are for tracking work to updaterelated to Flow ahead of IP Masking being enabled on WMF sites.changes needed to adhere to the compliance requirements related to IP Masking / Temporary Accounts.
NOTE: How can we minimize the effort invested in Flow, knowing that ideally we want to move projects away from the use of Flow in the future? {https://phabricator.wikimedia.org/T332022}
----
####Testing notes:
StructuredDiscussions will be the most complex project the Growth team will need to work on for IP Masking.
Similar to VisualEditor, it makes edits via the API. As of now (tested at dewiki beta), the API attributes the edit to the IP address, instead of creating a temporary account (which is the intended behaviour). Ideally, after submitting, the temporary banner should as well (alternatively, a refresh can be triggered). Making the temporary account fully transferrable across domains would require a hop over login.wikimedia.org.
**QA Testing notes:**
> - a temp user cannot make their first edit on a Flow page. The warnings incorrectly inform a temp user about its status.
> {F37150960}
> - A temp user can "add" any topic to a watchlist, although watchlist is not reachable for temp users. A Flow page has the watchlist star that can be clicked by a temp users:
> {F37150962}
####Acceptance Criteria for MVP release:
Given I'm a logged out user,
When I want to add a comment in a Flow discussion,
Then I can do so with a temporary account (or create a regular account before adding a comment)
Given I'm a logged into a temporary account,
When I want to add a comment in a Flow discussion,
Then I can do so with a temporary account (and my IP address isn't visible to the general public)
TBD: How much support or customization is needed? (For example, should temp accounts receive a notice to create an account when they add a topic to their watchlist?) TBD