Skip to content

Enforce board comment restrictions on the server - #372

Open
bjarn wants to merge 1 commit into
ploi:mainfrom
bjarn:codex/enforce-board-comment-block
Open

bjarn wants to merge 1 commit into
ploi:mainfrom
bjarn:codex/enforce-board-comment-block

Conversation

@bjarn

@bjarn bjarn commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reject the top-level Livewire comment action when the board blocks comments.
  • Keep the existing reply and MCP checks unchanged.
  • Add a regression test that confirms no comment is stored.

Security impact

A user could bypass the hidden comment interface and call the Livewire action directly.

Tests

  • php artisan test --compact tests/Feature/Livewire/Item/CommentsTest.php

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.

1 participant