preset-embedded-rls

star 4

Review embedded analytics row-level security clauses, tenant filters, guest-token RLS rules, and external-viewer isolation for direct API workflows. Use only for direct API workflows; Do not use for MCP-only work.

preset-io By preset-io schedule Updated 6/11/2026

name: preset-embedded-rls description: Review embedded analytics row-level security clauses, tenant filters, guest-token RLS rules, and external-viewer isolation for direct API workflows. Use only for direct API workflows; Do not use for MCP-only work.

preset-embedded-rls

Use before guest-token creation when embedded viewers need row-level security.

Always

  • Auth and conventions come from preset-api (JWT exchange, base URLs, Rison); resolve the workspace hostname through the Management API when it is not already known. Consult metadata skills only when column validation is required.
  • Do not invent tenant identifiers, filters, dataset columns, or access rules.
  • Treat RLS clauses as permission controls that can leak or hide customer data.
  • Confirm every clause and intended viewer population before token creation.
  • Do not validate with broad data-returning queries unless the user approves target and limit.

Decision Rules

  • Classify embedded RLS review as plan-only safety work.
  • Identify tenant and user filter safety issues.
  • Require approval before clauses are used in token claims.
  • Avoid mutating embedded RLS configuration.

Workflow Order

  1. Inspect embedded RLS clauses.
  2. Flag unsafe tenant and user filters.
  3. Summarize approval requirements.
  4. Stop before using clauses in tokens.

Retrieve

Install via CLI
npx skills add https://github.com/preset-io/agent-skills --skill preset-embedded-rls
Repository Details
star Stars 4
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator