Skip to content

Hide private project comments from recent comments - #375

Merged
Cannonb4ll merged 1 commit into
ploi:mainfrom
bjarn:codex/fix-private-project-recent-comments
Oct 5, 2026
Merged

Cannonb4ll merged 1 commit into
ploi:mainfrom
bjarn:codex/fix-private-project-recent-comments

Conversation

@bjarn

@bjarn bjarn commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Limit recent comments to items that the current user can see.
  • Keep public comments from private projects out of the welcome component.
  • Add a focused Livewire regression test.

Security impact

The recent comments component could disclose comment content and item titles from private projects.

Tests

  • php artisan test --compact tests/Feature/Livewire/Welcome/RecentCommentsTest.php

@Cannonb4ll
Cannonb4ll merged commit 0fc38cc into ploi:main Oct 5, 2026
3 checks passed
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