Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fga graph command to display Permit permissions #41

Closed
wants to merge 1 commit into from

Conversation

vishwamartur
Copy link

@vishwamartur vishwamartur commented Nov 26, 2024

Related to #16

Add permit fga graph command to display Permit permissions graph in ReBAC.

  • CLI Integration

    • Add import for fgaGraph command in source/cli.tsx.
    • Register fgaGraph command with Pastel in source/cli.tsx.
  • API Methods

    • Add methods in source/lib/api.ts to fetch resource instances, roles, and relationships from Permit API.
  • Graph Command Implementation

    • Create source/commands/fgaGraph.tsx to define fgaGraph command.
    • Use Ink components to render graph data interactively in CLI.
  • Documentation

    • Update README.md to include usage instructions for permit fga graph command.

/claim #16

Related to permitio#16

Add `permit fga graph` command to display Permit permissions graph in ReBAC.

* **CLI Integration**
  - Add import for `fgaGraph` command in `source/cli.tsx`.
  - Register `fgaGraph` command with Pastel in `source/cli.tsx`.

* **API Methods**
  - Add methods in `source/lib/api.ts` to fetch resource instances, roles, and relationships from Permit API.

* **Graph Command Implementation**
  - Create `source/commands/fgaGraph.tsx` to define `fgaGraph` command.
  - Use Ink components to render graph data interactively in CLI.

* **Documentation**
  - Update `README.md` to include usage instructions for `permit fga graph` command.
Copy link

algora-pbc bot commented Nov 26, 2024

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe.

@gemanor
Copy link
Collaborator

gemanor commented Nov 27, 2024

Spam submission. The PR opener was warned about that on other PRs.

@gemanor gemanor closed this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants