policies

Inspect Laravel policy classes for bookings, rooms, and reviews.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/taucao-ruby/soleil-hostel --skill policies-taucao-ruby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: policies
Source: https://github.com/taucao-ruby/soleil-hostel/tree/main/.claude/skills/generated/policies
Command: npx skills add https://github.com/taucao-ruby/soleil-hostel --skill policies-taucao-ruby

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and understand the authorization policies governing bookings, reviews, and users in the Soleil Hostel backend.

Core Features & Use Cases

  • Policy discovery across BookingPolicy, RoomPolicy, and ReviewPolicy
  • Validation via tests and models to ensure correct permissions
  • Clear entry points for auditing and maintenance

Quick Start

Inspect the BookingPolicy, RoomPolicy, and ReviewPolicy to understand the current authorization rules.

Frequently Asked Questions about policies

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Laravel authorization policies for backend access control?

Laravel authorization policies are audited by inspecting policy classes like BookingPolicy, RoomPolicy, and ReviewPolicy to understand permissions across create, read, update, delete, and view operations for different user roles.

What is the best way to verify backend access rules in a PHP application?

Verifying backend access rules involves validating policy definitions via associated tests and related models to ensure correct permissions are enforced for admin, staff, and regular users.

How do I check if my Laravel policies cover create, read, update, and delete operations?

Checking Laravel policy coverage involves exploring policy definitions and their associated tests to confirm permissions are correctly mapped across create, read, update, delete, and view operations for required user roles.

Does this policy auditing approach work with existing Laravel models and tests?

This policy auditing approach works directly with existing Laravel models and tests, using them as validation points to verify that authorization rules ensure secure access control with clear coverage and maintainable structure.

When do I need to review backend access policies in a Laravel project?

Reviewing backend access policies is needed when auditing a Laravel project to ensure secure access control, verify role-based permissions for admin and staff, and maintain clear entry points for policy maintenance.