tourze/doctrine-row-permission-bundle
A Symfony bundle for enforcing row-level permissions on Doctrine entities, helping control access to individual records based on the current user and integrate per-row security checks into queries and operations.
Consider it when:
where clauses in every query are becoming a correctness and maintenance risk.Look elsewhere when:
For executives: We are evaluating an open-source component that enforces "who can see which record" at the data layer rather than in each screen. It addresses a recurring enterprise and compliance requirement — provable least-privilege access — and could shorten delivery of that capability. However, the package is early-stage (0.0.2 → 0.1.0, with no substantive changelog published), so it is a candidate for a time-boxed spike, not a production commitment. Recommendation: fund a short evaluation, keep the authorization boundary behind our own interface so the underlying library is replaceable, and do not let it block the roadmap.
For engineering: This is a Doctrine bundle, so it is only a natural fit if we are on Doctrine rather than Eloquent. The 0.1.0 release ships no described changes — we cannot assess breaking changes or new capability from the notes, so treat the version bump as unverified and pin it. If we proceed, wrap it behind an internal authorization abstraction, benchmark row-filtered queries on realistic table sizes, and agree an exit plan up front. If we are staying on Eloquent, the honest recommendation is that our existing Laravel authorization primitives cover the same ground with less risk.
How can I help you explore Laravel packages today?