这是indexloc提供的服务,不要输入任何密码
Skip to content

Here's how you get RLS to work. #84

@ultramarinebicycle

Description

@ultramarinebicycle

The issue is on your Supabase configuration side, not on your Godot project side. I'm going to use Database for example:

  1. Go to Project > Database > Policies in the left bar.
  2. Create Policy for your table.
  3. Let everything be default, except in Policy Command put it to ALL, Target Roles = authenticated and using = (auth.uid() = user_id)

Save and it should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions