Skip to content

Guidance on User Management and Row-Level Security with PostgREST #3696

Answered by wolfgangwalther
vdufloth asked this question in Q&A
Discussion options

You must be logged in to vote

Is there some roadmap for #818 ?

The same as for all other issues: If somebody finds the time to do it...

There has been a first try here: #3226

And if that does not exist yet, how are people handling this issue with PostgREST?

Because of schema isolation, I have the todos and todo_details table normalized in a data schema. In the exposed / public / api schema (however, you call it), I have a todos view, which does the JOIN to todo_details already, and exposes it as an array. I then have INSTEAD OF triggers on that view to manage the insert. Those triggers take care of inserting this array into the todo_details table via MERGE. I posted an example of that in some other discussion a wh…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@vdufloth
Comment options

@wolfgangwalther
Comment options

Answer selected by vdufloth
@wolfgangwalther
Comment options

@vdufloth
Comment options

@wolfgangwalther
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants