This repository was archived by the owner on Jan 17, 2025. It is now read-only.
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
Allow GRANTs to PUBLIC #61
Closed
Description
I just started using the provider and ran into an issue. I tried to grant permissions on a new schema to public, but this caused an error and broke my state file. Setting the user to be "public" results in an error like this during plan:
Error: failed to get user ID: sql: no rows in result set
I think the issue is when trying to check the state, the code runs a query filtering for the username, but public is special, so it isn't listed.
Would it be possible to add functionality to handle public
?