DEV Community

Kaushik Varanasi
Kaushik Varanasi

Posted on

Configuring permissions on Hasura for Pokemon data

Image description

Image description

Now, go to public and click on track

Image description

Now the permissions

Open the Hasura console from your Rocketgraph Hasura tab. We set permissions here so we know which pokemon belongs to whom. Create a role user with the following permissions on the permissions tab.

For select:

Image description

Do without any checks

For update:

Image description

Image description

We also need to preset column user_id so that it automatically sets it up from our rocketgraph-js-sdk:

Image description

Top comments (0)