symfony:symfony-voters
Symfony Voters (Symfony)
Use when
- Hardening access-control or validation boundaries.
- Aligning voters/security expressions with domain rules.
Default workflow
- Map actor/resource/action decision matrix.
- Implement voter/constraint logic at the right boundary.
- Wire checks at controllers and API operations.
- Test allowed/forbidden/invalid paths comprehensively.
Guardrails
- Avoid policy logic duplication across layers.
- Do not leak privileged state via error detail.
- Preserve explicit deny behavior for sensitive actions.
Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
Output contract
- Security boundary updates.
- Integration points enforcing decisions.
- Negative-path test results.
References
reference.mddocs/complexity-tiers.md
More from makfly/superpowers-symfony
symfony:quality-checks
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for quality checks tasks.
443symfony:interfaces-and-autowiring
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for interfaces and autowiring tasks.
377symfony:controller-cleanup
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for controller cleanup tasks.
344symfony:bootstrap-check
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for bootstrap check tasks.
344symfony:cqrs-and-handlers
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for cqrs and handlers tasks.
333symfony:doctrine-migrations
Evolve Symfony Doctrine models and schema safely with integrity, performance, and rollout discipline. Use for doctrine migrations tasks.
329