Hasura permissions viewer
Generate human-friendly HTML table from hasura permissions list.
Github project
Paste or drag-n-drop hasura metadata JSON export
{ "resource_version": 9, "metadata": { "version": 3, "sources": [ { "name": "default", "kind": "postgres", "tables": [ { "table": { "name": "books", "schema": "public" }, "insert_permissions": [ { "role": "user", "permission": { "check": {}, "set": { "user_id": "x-hasura-User-id" }, "columns": ["id", "name", "user_id"] } } ], "select_permissions": [ { "role": "anonymous", "permission": { "columns": ["id", "name", "user_id"], "filter": {} } }, { "role": "user", "permission": { "columns": ["id", "name", "user_id"], "filter": {} } } ], "update_permissions": [ { "role": "user", "permission": { "columns": ["name", "id", "user_id"], "filter": { "user_id": { "_eq": "X-Hasura-User-Id" } }, "check": null } } ], "delete_permissions": [ { "role": "user", "permission": { "backend_only": false, "filter": { "user_id": { "_eq": "X-Hasura-User-Id" } } } } ] } ], "configuration": { "connection_info": { "database_url": { "from_env": "HASURA_GRAPHQL_DATABASE_URL" }, "isolation_level": "read-committed", "pool_settings": { "connection_lifetime": 600, "idle_timeout": 180, "max_connections": 50, "retries": 1 }, "use_prepared_statements": true } } } ] } }
HTML result
Export