Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 617 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 617 Bytes

hasura-permissions-viewer

Generate an HTML overview of tables permissions from hasura metadata.

demo

Usage

Drop the result of from Hasura console Export metadata into the demo : https://socialgouv.github.io/hasura-permissions-viewer

Or use as npm module :

const toHtml = require("@socialgouv/hasura-permissions-viewer");

const metadata = require("./metadata.json");

// to get the formatted HTML tables
console.log(toHtml(metadata));