https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • j

    jensen

    12/23/2021, 4:18 AM
    I'm not sure that's true. I use storage with a self-hosted instance. It's just the storage isn't backed by S3 by default, its using the FS.
  • d

    Deleted User

    12/23/2021, 11:02 AM
    On my self-hosted Supabase project here's all I have:
  • a

    anothercoder

    12/23/2021, 12:43 PM
    https://github.com/supabase/supabase/issues/4440
  • d

    Deleted User

    12/23/2021, 12:45 PM
    right.
  • d

    Deleted User

    12/23/2021, 12:45 PM
    thank you
  • a

    alpha_

    12/23/2021, 2:34 PM
    While fixing an issue in the SupaBase repo, it's hard to know whether that particular issue has been taken by someone or is yet to fix. Any way to know the status of the issue?
  • j

    jensen

    12/23/2021, 5:22 PM
    Right, I don’t use the studio UI much for self hosted
  • d

    Deleted User

    12/23/2021, 5:22 PM
    oh okay
  • j

    jensen

    12/23/2021, 5:23 PM
    There is a storage table, with entries and a docker volume with the files that get uploaded
  • d

    Deleted User

    12/23/2021, 5:23 PM
    yeah. I saw those after I posted the message
  • k

    Kidsarow

    12/23/2021, 6:09 PM
    Hi! I don't understand something with Supabase. Since the connection can be made with JS, if people check your project with the dev tools they will be able to see the key and address of your db so they will be able to do something on it no ?
  • j

    jumpship

    12/23/2021, 7:00 PM
    Magic link emails not getting sent for anyone else?
  • j

    jensen

    12/23/2021, 7:16 PM
    yes, they can see the anon key that can be used to query public data. there is a system of rpc functions and RLS that can be used to prevent access to resources that you want private
  • d

    dhruv_casa

    12/23/2021, 9:22 PM
    How do I change the URL that shows to the user on Google Sign In?
  • c

    chipilov

    12/23/2021, 9:25 PM
    https://github.com/supabase/supabase/discussions/2925
  • d

    dhruv_casa

    12/23/2021, 9:26 PM
    Oooh, this seems so promising, thanks a ton!
  • d

    dhruv_casa

    12/23/2021, 9:26 PM
    I'll try it asap
  • z

    zacatac

    12/23/2021, 10:05 PM
    Does anyone know when login support for the CLI is going to land? Or does anyone have recommendations for keeping multiple supabase "environments" (staging, dev, prod) in sync?
  • s

    shivam51

    12/24/2021, 4:54 AM
    Is there a way to redirect magic link back to the URL it came from?
  • l

    LJ1990

    12/24/2021, 10:31 AM
    Hi all! I'm currently struggling with RLS and policies. I basically want to restrict non-admin users from
    inserting
    ,
    updating
    and
    deleting
    entities. For this, I created policies on my table with a simple rule:
    false
    . I changed the role for an admin user to
    service_role
    to bypass the RLS. Now, when I'm running my integration tests the admin user is allowed to modify entities. The non-admin user is not allowed to
    insert
    , however
    updating
    and
    deleting
    still works. What am I missing?
  • p

    poutingemoji

    12/24/2021, 11:02 PM
    is there a way to switch the organization of your project?
  • j

    jjj.westra

    12/25/2021, 11:21 PM
    Merry Christmas everyone!
  • o

    oliviercp

    12/26/2021, 5:31 AM
    Hey! Does anyone know if there is a way to create a folder in a storage bucket using sql. I want for example to create a folder for each newly created users.
  • b

    beru

    12/26/2021, 6:12 AM
    Copy code
    sql
    insert into storage.objects (bucket_id, name)
    values ('bucket-name', 'folder-name/.emptyFolderPlaceholder')
  • b

    beru

    12/26/2021, 6:15 AM
    i think this is what the supabase ui does when you click on the add folder button, judging from the storage table. then u have to add the owner id column for the new user
  • o

    oliviercp

    12/26/2021, 6:19 AM
    Its seems to be working, but i wonder how the folder is created in S3 when running this query. I guess supabase has some sort of trigger on the storage.objects table?
  • b

    beru

    12/26/2021, 6:27 AM
    i think so too, but i don't really know the details of the supabase internals yet
  • a

    anothercoder

    12/26/2021, 7:04 AM
    For S3, there is no real folder. You can just upload an object directly with any "/"s inside the key name, any this simulates folder paths.
  • o

    oliviercp

    12/26/2021, 7:05 AM
    Yes i know, but i wonder if when i run my insert query on storage.objects, an empty file is uploaded to S3.
  • a

    anothercoder

    12/26/2021, 7:24 AM
    I dont see this trigger in Database > Triggers
1...169170171...392Latest