Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: turn off showing usernames and emails in the project cards when the flag is turned on #7421

Merged
merged 6 commits into from
Jun 21, 2024

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Jun 21, 2024

This PR:

  • adds a flag to anonymize user emails in the new project cards
  • performs the anonymization using the existing anonymise function that we have.

It does not anonymize the system user, nor does it anonymize groups. It does, however, leave the gravatar url unchanged, as that is already hashed (but we may want to hide that too).

This PR also does not affect the user's name or username. Considering the target is the demo instance where the vast majority of users don't have this (and if they do, they've chosen to set it themselves), this seems an appropriate mitigation.

With the flag turned off:
image

With the flag on:
image

Copy link

vercel bot commented Jun 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 9:24am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Jun 21, 2024 9:24am

Copy link

github-actions bot commented Jun 21, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@thomasheartman thomasheartman enabled auto-merge (squash) June 21, 2024 10:22
Copy link
Contributor

@FredrikOseberg FredrikOseberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomasheartman thomasheartman merged commit c2a29b4 into main Jun 21, 2024
7 checks passed
@thomasheartman thomasheartman deleted the fix/hide-usernames-in-project-cards-by-flag branch June 21, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants