symfonyapi-platform-security
Secure API Platform resources with security expressions, voters, and operation-level access control
When & Why to Use This Skill
This Claude skill streamlines the process of securing Symfony API Platform resources. It assists developers in implementing robust security expressions, custom voters, and operation-level access controls, ensuring that API endpoints are protected with fine-grained authorization logic tailored to specific business requirements.
Use Cases
- Implementing Role-Based Access Control (RBAC) to restrict API resource access based on user permissions and roles.
- Developing custom Security Voters for complex authorization logic, such as verifying resource ownership or checking specific attributes before allowing modifications.
- Applying operation-level security constraints to specific HTTP methods (e.g., GET, POST, PATCH) using security expressions within the API Platform resource configuration.
| name | symfony:api-platform-security |
|---|---|
| description | Use when symfony api platform security |
symfony:api-platform-security (Micro)
Use when
- Use when symfony api platform security
Tags
- api-platform, security
Rules
- Keep changes minimal and focused
- Ask before running servers/builds/tests
- Load reference/examples only on explicit request
References
reference.mddocs/complexity-tiers.md