Skip to content

security/supabase-rls: waive an intentionally public table by bare table name #2103

Description

@nc9

Today [[ignore]] waives a Supabase table only by its full item id (<ref>.supabase.co/rest/v1/<table>) or a glob such as glob:*/rest/v1/posts. items = ["posts"] matches nothing, because the item label also carries the row count, and the fail message keeps naming a waived table.

Acceptance Criteria

  • [[ignore]] with rule = "security/supabase-rls" and items = ["posts"] waives the posts table finding in every project and leaves other tables reported.
  • A check whose remaining tables are not waived no longer names the waived table in its message.
  • The rule page shows the bare-name form, and squirrel config validate accepts it.
  • A test pins both the bare-name and the glob:*/rest/v1/<table> forms.

Follow-up to #1883 (security/supabase-rls); its fix round confirmed glob:*/rest/v1/<table> works today.

Activity

  1. added
    enhancement
    size: S
    rules
    on Nov 17, 2026
  2. nc9 commented on Nov 17, 2026

    @nc9
    ContributorAuthor

    Related: #2104 (table order, cap size and the unchecked count when an app names more tables than the cap).

    nik

  3. added theissue type on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrulessize: S

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions