graphile / starter

Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
https://graphile-starter.herokuapp.com
Other
1.74k stars 219 forks source link

docs(db): describe role concept #246

Closed evolkmann closed 3 years ago

evolkmann commented 3 years ago

Highlight that the DATABASE_OWNER must actually be the owner to work as expected.

This misunderstanding on my end caused quite some delay in my project's rollout, therefore I figured that others might also run into this issue.

Description

The issue occured to me when I created the initial schema with my personal postgres user, not with the DATABASE_OWNER role. Therefore, nothing in the private schema, as well as in the graphile_worker schema was accessable.

Here is an example of another person who probably had a similar issue: https://discord.com/channels/489127045289476126/498852330754801666/779378725946130462

Performance impact

n/a

Security impact

n/a

Checklist

evolkmann commented 3 years ago

@benjie Thanks! If I had deep enough knowledge I would have written it that way, thanks for improving my text 😉