https://github.com/SocialGouv/hasura-permissions-viewer
Generate human-friendly HTML table from hasura permissions list
https://github.com/SocialGouv/hasura-permissions-viewer
hasura security
Last synced: 2 months ago
JSON representation
Generate human-friendly HTML table from hasura permissions list
- Host: GitHub
- URL: https://github.com/SocialGouv/hasura-permissions-viewer
- Owner: SocialGouv
- Created: 2020-04-29T21:09:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T09:47:53.000Z (over 1 year ago)
- Last Synced: 2024-05-19T14:32:45.474Z (over 1 year ago)
- Topics: hasura, security
- Language: JavaScript
- Homepage: https://socialgouv.github.io/hasura-permissions-viewer
- Size: 230 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# hasura-permissions-viewer [](https://www.npmjs.com/package/@socialgouv/hasura-permissions-viewer)
Generate an HTML overview of tables permissions from hasura metadata.

## 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 :
```js
const toHtml = require("@socialgouv/hasura-permissions-viewer");const metadata = require("./metadata.json");
// to get the formatted HTML tables
console.log(toHtml(metadata));
```