Comments (11)
hi, which environment? Is this the cloud, the cli, self-hosted? if it's the cloud, can you share the subdomain? Thanks
from nhost.
I'm using the cloud, and the subdomain is https://app.nhost.io/edtrax/edtrax-test.
from nhost.
and what error are you getting exactly? could you share a screenshot or similar? thanks!
from nhost.
from nhost.
Strange, have you changed any database setting or run any SQL command that might have altered permissions? In any case, try running:
SET ROLE postgres;
ALTER SCHEMA hdb_catalog OWNER TO nhost_hasura;
GRANT SELECT ON ALL TABLES IN SCHEMA information_schema TO nhost_hasura;
GRANT SELECT ON ALL TABLES IN SCHEMA pg_catalog TO nhost_hasura;
GRANT USAGE ON SCHEMA public TO nhost_hasura;
GRANT ALL ON ALL TABLES IN SCHEMA public TO nhost_hasura;
GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO nhost_hasura;
GRANT ALL ON ALL FUNCTIONS IN SCHEMA public TO nhost_hasura;
from nhost.
I haven't changed any settings or run any commands to alter permissions. I tried running the code you gave but it still says permission is denied for public schema.
from nhost.
can you try:
SET ROLE postgres;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO nhost_hasura;
and if that doesn't work:
SET ROLE postgres;
GRANT CREATE ON SCHEMA public TO nhost_hasura;
this is very odd, have you restored a backup with pg_dump or similar? Just wondering how the permissions might have been lost.
from nhost.
That worked. Thanks for your help!
from nhost.
Perfect, glad to hear. Closing for now. If you have more info on the chain of events that might have led to this issue don't hesitate to let us know. Thanks!
from nhost.
Related Issues (20)
- dashboard: github connect: investigate potential UX improvements HOT 2
- dashboard: multiple error toasts closing together
- Custom Claim Array always null with auth 0.29.1 HOT 5
- dashboard: add model settings to autoembeddings configuration
- dashboard: e2e tests for Run and AI pages
- Error in signup/email-password HOT 2
- Never received any otp code, response is null on session and error
- Nhost (Next) JWT Token expire and apollo/nhostNext js client stops working HOT 19
- Can't Access Auth Endpoint HOT 1
- Change metadata for user in dashboard HOT 2
- evaluate project templates
- add "headers" option to missing methods in the js sdk
- error in openapi3filter.RequestError: refresh token is missing HOT 3
- react-apollo example e2e tests backend fails to start because of dummy secrets
- NextJS Server Components and Subscriptions Example HOT 9
- Does self hosted solution work? HOT 5
- improvements to error toast
- dashboard: toml editor
- create templates for all the supported frameworks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nhost.