Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
icebraining
on June 12, 2018
|
parent
|
context
|
favorite
| on:
John Resig: Introducing the GraphQL Guide
Anonymous seems easier, since you can treat them as a single user. But could you do something like HN as a frontend app talking directly to a Postgrest API?
hucker
on June 12, 2018
[–]
Good point, that's true. But yes you could, using row-level security. See
https://www.postgresql.org/docs/current/static/ddl-rowsecuri...
and
https://postgrest.org/en/v4.4/auth.html#users-and-groups
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: