citizenlab icon indicating copy to clipboard operation
citizenlab copied to clipboard

TAN-821 - Add users for anonymous posts

Open jamesspeake opened this issue 1 year ago • 2 comments
trafficstars

Background

  • This brings this in line with the bulk importer that creates anonymous users where permission has not been given
  • This means that the stats for participants in a phase / project are more accurate as a user is logged for every anonymous idea, comment or native survey
  • Each user is created with just a unique code instead of email - the unique code is prefixed by where the user was created from - IDEA, COMMENT, SURVEY, INITIATIVE
  • Ultimately this adds consistency to all data collection so that we are able in the future to collect demographic information against non-logged in users and anonymous users

Questions

  • Should we log an activity - User - anonymous_created?
  • The users still won't be 100% accurate as a single user could post anonymously and create a new user several times - can't get round this as if we use browser finger printing, then the same user can be tied to multiple posts - which we do already actually so it could be OK

Changelog

jamesspeake avatar Feb 28 '24 16:02 jamesspeake

Warnings
:warning:

The changelog is empty. What should I put in the changelog?

:warning: The PR title contains no Jira issue key (case-sensitive)
:warning: The branch name contains no Jira issue key (case-sensitive)
Messages
:book:

Run the e2e tests

:book: Check translation progress

Generated by :no_entry_sign: dangerJS against 54a4a057f9729cffbc18c4f34cef77f3cc2bff98

cl-dev-bot avatar Feb 29 '24 09:02 cl-dev-bot