Constantine/feature/illegal-profile #173
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
As a user, I want to clearly see when a profile has been flagged as Illegal, so that I understand the user’s identity information is intentionally hidden.
This feature ensures transparency around moderation decisions while maintaining platform integrity.
Illegal profiles are anonymized to prevent the spread or promotion of prohibited identities, without breaking existing social interactions.
The goal is to clearly differentiate illegal accounts from normal or reported profiles while allowing the ecosystem to function consistently.
Description
This PR introduces a new Illegal profile state, which anonymizes the user’s profile details and displays a visible moderation label.
When a profile is marked as illegal, the username, profile picture, and bio are permanently anonymized and replaced with a system-controlled identity.
A clear label “Removed as illegal” is shown to all other users viewing the profile.
Despite anonymization, all posts and comments remain visible and fully interactive to avoid content graph breakage.
The profile owner retains full access to the app, but any updates to identity-related fields remain flagged and anonymized without triggering further moderation actions.
Links