Hasura Permissions And Row-level Security (RLS)
I have reviewed the hasura documentation but it mentions that i need to send either x-hasura-role or x-hasura-default-role along with x-hasura-allowed-roles. Apr 23, 2019this is because hasura follows sql by having null not comparable to anything (only _is_null can match values that are set as null in nullable columns). Oct 22, 2022you can copy the graphql endpoint from hasura console and hit simple http request to that endpoint with query and it's variables in request body.
Nov 24, 2023i am unable to connect hasura with already existing microsoft sql server database. Feb 2, 2022i am using hasura and graphql, and i want to create a query, which is using multiple "where _or". Aug 11, 2021generally you just add additional headers for x-hasura-role and x-hasura-user-id and any other session variables that are relevant for your app.
Feb 23, 20231 i plan to deploy hasura docker container into kubernetes cluster. So i got a hasura metadata json file (hasura_metadata_2023_02_23_16_59_45_407.json), which was generated. Oct 23, 2021i want to install hasura using docker.
According to the hasura doc, i created the docker-compose.yml file. Jan 23, 2025however, my requirement is for hasura to check all the roles inside the x-hasura-allowed-roles array, and if any of those roles have the necessary permissions, the request should be.