Skip to content

Row level security #2378

Closed
Closed

Description

@linkle69

Discussed in #2377

Originally posted by link-discord July 15, 2021
I'm trying to insert a new user in my frontend but the row-level security denies it
I have used the policy template that only lets authenticated users insert new rows
but it still refuses to let me insert data even though in frontend it logs that I do have "authenticated" as the role

Any help on this?

image
image
image
image

Activity

  1. jonlambert commented on Jul 15, 2021

    @jonlambert

    I ran into this - solved it by adding a similar policy for select, too. Not sure if this is expected behaviour.

    (Edit: I had the issue with tables other than users, this may be an exception)

  2. linkle69 commented on Jul 15, 2021

    @linkle69
    Author

    managed to solve it lol

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions