Schema-based permission system for API features. Use this skill when implementing authorization in use cases, defining permission schemas with createPermissionSchema, creating injectable permissions via createPermissionsAbstraction/createPermissionsFeature, checking read/write/delete/publish permissions, handling own-record scoping, or testing permission scenarios. Covers the full pattern from schema definition to use case integration to test matrices.
$npx -y skills add webiny/webiny-js --skill permissionsInstalls into the current project.
Run `npx skills use "https://github.com/webiny/webiny-js" --skill "webiny/webiny-js/permissions"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/webiny/webiny-js" that are relevant to the current task. Run `npx skills add "https://github.com/webiny/webiny-js"` and select the relevant skills, then follow their instructions.