For the WriteAuthorizationModel snippet, use the DSL and only show the CLI

Open
#616 2 comments 0 reactions 1 assignee View on GitHub

@stevehobbsdev is already working on this.

Since Jan 11, 2024.

Assessment

This issue has not been assessed yet.

Description

enhancement good first issue

For this component: https://github.com/openfga/openfga.dev/blob/main/src/components/Docs/SnippetViewer/WriteAuthzModelViewer.tsx

Remove all except the CLI

And for the CLI, echo the model DSL into a temp file and have the CLI write that file

Dominant language
TypeScript
Stars
51
Forks
105
Avg merge
10h 35m
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openfga/openfga.dev

All issues in openfga/openfga.dev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.