Skip to content

feat: add pseudonymous users and question visibility control#1539

Open
IrusHunter wants to merge 21 commits into
apache:devfrom
liza-hamai:main
Open

feat: add pseudonymous users and question visibility control#1539
IrusHunter wants to merge 21 commits into
apache:devfrom
liza-hamai:main

Conversation

@IrusHunter
Copy link
Copy Markdown

Fixes #129, #744

Proposed Changes

  • Added configurable user anonymity with pseudonymous aliases for content creation.
  • Implemented FakeUsername generation and storage for anonymous users. A single alias is reused across all content (question, answers, and comments) within the same question, while different questions receive different aliases for the same user.
  • Implemented anonymized content representation and notification handling while preserving access to original identities for administrators.
  • Added question visibility control through a PrivateLevel field on the Question entity, with access validation and content filtering.
  • Added cleanup logic for anonymity-related entities and aliases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants