ronnytorresmtz/comments
A Laravel package that adds polymorphic commenting to your Eloquent models. Attach comments to any model via a simple trait, with migrations, configuration, and a clean API for creating, retrieving, and managing comments.
allowToShowAllCompaniesComments() signals the package is designed for SaaS products with company/tenant scoping. This unlocks product decisions around cross-tenant visibility — e.g., whether system admins or support staff should see comments across customer accounts for moderation, escalation, or audit purposes.showOnlyMyComments() (fixed in this release) with the new admin-wide visibility flag means you can now make genuine product decisions about who sees what — internal-only threads, customer-visible notes, or admin oversight views — without custom forks.showOnlyMyComments() fix is a correctness change — prior behavior effectively ignored the argument and always behaved as false. PMs should flag this to stakeholders because any product behavior or user expectations built on the broken behavior may change after upgrade (users who should have seen only their own comments may now see more, or vice versa depending on invocation).Consider it when:
Look elsewhere when:
showOnlyMyComments correction).To executives: This is a small but strategically useful update to a Nova comments package we rely on for internal/admin collaboration. It adds an admin-level "see all companies' comments" capability — directly supporting oversight, moderation, and support workflows across customer accounts — and fixes a visibility bug that previously made the "show only my comments" setting unreliable. Low risk, incremental value, keeps us on the maintained release track.
To engineering: v1.0.8 introduces allowToShowAllComments()-style cross-company visibility intended for system admin users, plus a fix so showOnlyMyComments($flag) honors its argument rather than always evaluating false. Upgrade is low-effort, but audit every call site of showOnlyMyComments — any code or tests written against the old always-false behavior will now behave differently. Add a regression test covering both admin-wide and self-only visibility paths, and confirm the new admin method is gated behind an authorization check so non-admins cannot see cross-company comments.
How can I help you explore Laravel packages today?