Examples
Quick Permission Check
if (!checkPermission(user.role, 'write')) {
throw new ForbiddenError('Write permission required');
}Implement custom role-based access control via JWT claims in Supabase: app_metadata.role, RLS policies with auth.jwt() role extraction, organization-scoped access, and API key scoping. Use when implementing role-based permissions, configuring organization-level access, building admin/member/viewer hierarchies, or scoping API keys per role. Trigger with "supabase RBAC", "supabase roles", "supabase permissions", "supabase JWT claims", "supabase organization access", "supabase custom roles", "supabase app_metadata".
Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/supabase-enterprise-rbac Nothing lands on disk. Nothing to clean up.
Edit a local copy. It keeps the author and licence.
≈79 tokens on demand. Your agent reads this file only when SKILL.md points to it.
if (!checkPermission(user.role, 'write')) {
throw new ForbiddenError('Write permission required');
}Source: SKILL.md on GitHub
Runs shell commands
skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.
skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.
The skill provides a set of implementation guides and code samples for building a custom role-based access control (RBAC) system using Supabase. It follows security best practices by utilizing environment variables for sensitive keys and implementing server-side enforcement to complement database-level security policies.
No alerts
Risk: LOW · No issues
Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.
Last checked against GitHub yesterday.
[ "saas", "supabase", "rbac", "security", "enterprise", "roles", "permissions" ]