br-resource-policy
CommunityEnforce per-action and per-field access.
Software Engineering#authorization#php#permissions#wordpress#access-control#better-route#resource-policy
AuthorLonsdale201
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Configure authorization policies for Better Route Resources to consistently control access across actions (list, get, create, update, delete) and across fields.
Core Features & Use Cases
- ResourcePolicy presets: quick, safe defaults for public reads or admin-only writes.
- fieldPolicy: per-field write restrictions that silently strip disallowed fields.
- composable rules: combine policy and fieldPolicy to enforce both action-level and field-level constraints.
- Use in PRs and in production routes for CPTs and custom resources.
Quick Start
Configure a Resource with a policy and fieldPolicy, then register it with the router to enforce access control.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: br-resource-policy Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#br-resource-policy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.