new dev environment permissions
See original GitHub issueI was spinning up a new dev environment to take a look an open issue for hacktober (https://github.com/interledger/rafiki/issues/664), but have run into a postgres permissions issue (I think?).
After pnpm localenv up -d --build
I can see the docker containers started up.
I then was curling to look at the signature:
curl -X post http://localhost:3006/auth
And the connection closes immediately. I see this in the Docker logs:
2022-10-20 10:22:29.035 UTC [1] LOG: database system is ready to accept connections
2022-10-20 10:22:29.223 UTC [67] ERROR: permission denied for schema public at character 14
2022-10-20 10:22:29.223 UTC [67] STATEMENT: create table "auth_knex_migrations" ("id" serial primary key, "name" varchar(255), "batch" integer, "migration_time" timestamptz)
I tried to add. GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO peerauth
etc to each, but that didn’t alter anything.
I’m guessing I’m missing some setup step, but not sure what it might be so any help would be appreciated.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Provide access to developers - Azure Deployment Environments
Assign permissions to developers for an environment type · Select the project that you want your development team members to be able to...
Read more >Appropriate developer permissions on a dev server?
Yes, devs need admin privileges with dev systems. Its just easiest to do this than fumble around asking for access to bits and...
Read more >Environment Types, a simpler way to manage user permissions
User permissions are granted per environment type at the project level. Environments can share the same type. (You can have multiple Staging or ......
Read more >Don't be stuck at dev environment setup! | Rookie's Lab
As a team lead, make sure that the new dev has: All the accounts in different environments (dev/staging/testing/qa) with enough permissions, ...
Read more >Managing access to environments - Contentful
Navigate to the Settings tab and click on Roles & permissions. Click Create a new role. Add a name and a description for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh I realize you may have needed this open to track your own fix of it. Feel free to close again, my issue is over.
Yup, I was able to reproduce locally as well earlier. I’ve been playing around with a few ways of making it work in 15, but we should pin the major version going forward to avoid any unexpected issues, whether that is 15 or 14.