mozilla / network-pulse-api

API for the Network-Pulse project
Mozilla Public License 2.0
11 stars 22 forks source link

Re-implement the user signup flow #795

Closed Pomax closed 2 years ago

Pomax commented 2 years ago

Once there is an actual plan to properly work on Pulse, user accounts should be created the "conventional" way, where someone signs up, then has to confirm their account using an activation link to their email account. Once signed up, the user's presence in API calls (getting users, profiles, etc) and submissions should be omitted until a moderator "okays" the account (i.e. all data should be filtered for user__is_public=True, using a new field in addition to the standard is_active).

This allows users to sign up, log in, create posts, set their profile, etc. while pending moderation, rather than having to wait for a moderator before they can even log in, but their data will not show up for anyone until a staff member goes "yes, this is a trustworthy account" and marks them as public.

danielfmiranda commented 2 years ago

Blocked by #792

danielfmiranda commented 2 years ago

Closing as this was taken care of by #798 and #801