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

    jon.m

    08/07/2021, 10:23 PM
    It's basic react context and all on github
  • j

    jon.m

    08/07/2021, 10:24 PM
    that makes things easy
  • c

    carlomigueldy.eth

    08/08/2021, 12:35 AM
    DELETE Policy is set to FALSE
    • 1
    • 3
  • v

    Varun Sharma

    08/08/2021, 10:35 AM
    Hello everyone. Just wanted to ask, is supabase a good option to use in production?
    b
    c
    • 3
    • 4
  • v

    Varun Sharma

    08/08/2021, 10:36 AM
    We are a property valuation company and want our ERP to be built. We're considering supabase as our backend.
  • v

    Varun Sharma

    08/08/2021, 10:36 AM
    Is it a good option?
  • v

    Varun Sharma

    08/08/2021, 10:36 AM
    @User
  • v

    Volkan

    08/08/2021, 10:48 AM
    an amazing option, it is all open source and based on proven tech
  • v

    Volkan

    08/08/2021, 10:48 AM
    anything in particular you have an issue with?
  • t

    thomassk

    08/08/2021, 11:05 AM
    I have a question regarding supabase realtime... In the docs https://supabase.io/docs/guides/auth it states: "Our realtime server doesn't provide per-user security. Until we build a more robust auth system for WebSockets, you can disable realtime functionality for any private tables." Does this mean realtime subscriptions are not using row level policies? Thanks...
  • k

    Kosh

    08/08/2021, 11:13 AM
    Hi folks, I have truncated auth.users and that of course resulted in deleting all my data which is intended, but that also deleted storage, does that mean that the files are also deleted?
  • k

    Kosh

    08/08/2021, 11:13 AM
    @User ☝🏻 please could you clarify this.
  • b

    burggraf

    08/08/2021, 12:16 PM
    https://supabase.io/docs/guides/self-hosting
  • b

    burggraf

    08/08/2021, 12:17 PM
    Using Supabase in Production
  • r

    Ruhollah

    08/08/2021, 12:39 PM
    Hello everyone
  • r

    Ruhollah

    08/08/2021, 12:42 PM
    does anyone know how to do role based auth in supabase? I want to have for example a 'admin' role besides the 'authenticated' role that I get by default.
  • d

    Deleted User

    08/08/2021, 1:55 PM
    Hello everyone, I’ve just created a supabase client for python as the current client has a lot of non implemented features and it hindered my project, so here is a client I created Repo: https://github.com/keosariel/supabase-client Documentation: https://keosariel.github.io/2021/08/08/supabase-client-python/
  • j

    jstansbe

    08/08/2021, 2:47 PM
    What's the recommended approach for users having their own folder in storage and only allowing them to edit (create, update, delete), but allow everyone to read? My thought is to grab the bucket, loop over all folders, and add a folder if one isnt present (for whatever user the operation was invoked by). Then after that, I can have the users files in a single bucket where uploading is accomplished by
    supabase.storage.from('bucket_name/user_id_folder_name').upload('file.ext');
  • j

    jstansbe

    08/08/2021, 2:50 PM
    The part that seems awkward is determining if a user's folder exists in the bucket. As the number of folders (user id folders) grows, I end up having to loop over thousands and maybe more. I must be missing a way to search for a folder directly (where clause of sql query for example)
  • i

    IvanCodes

    08/09/2021, 12:55 AM
    You can write security policies in SQL for both the db and storage
  • e

    erik_flywheel

    08/09/2021, 1:21 AM
    Hey, I'm watching the supabase crash course video and when you go to tables, you see everything (audit_log_entries, buckets, instances, etc.) but when Im on my tables, I'm only seeing the public schema tables - is that a UI/UX change and how can I access the users table (besides the auth tab)?
  • j

    jstansbe

    08/09/2021, 1:56 AM
    @erik_flywheel you can run queries with it... create a new query under the sql section
  • e

    erik_flywheel

    08/09/2021, 1:56 AM
    Yeah, that's what I'm doing now... Just ran a query to pull the entire table
  • e

    erik_flywheel

    08/09/2021, 1:56 AM
    but thought it would've been easier through the UI
  • j

    jstansbe

    08/09/2021, 1:57 AM
    @IvanCodes the policy for i/o to a user's own folder is a policy template but i didn't understand the part on creating a folder for the user
  • j

    jstansbe

    08/09/2021, 1:58 AM
    @erik_flywheel yeah, some things are like that.... but supabase is just getting started really. I've left via the feedback functionality (button in web cms) and they responded and actually implemented one of my suggestions
  • j

    jstansbe

    08/09/2021, 1:59 AM
    *left feedback
  • e

    erik_flywheel

    08/09/2021, 2:00 AM
    thanks, that's helpful. I know it's early stages, so absolutely no complaints. Pretty new to all of this, but I'd like to add some fields to the user's table instead of adding a profiles table. Having access directly to the users is pretty helpful
  • i

    IvanCodes

    08/09/2021, 2:12 AM
    I've not used SQL policies with storage so you will need to ask someone who is sorry
  • j

    jon.m

    08/09/2021, 2:45 AM
    What would a real world problem be that comes from real time updates not having restricted capabilities?
1...697071...392Latest