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

🌟 Community Feature Challenge: Policy Playground 🌟 #9

Open
gemanor opened this issue Oct 28, 2024 · 5 comments
Open

🌟 Community Feature Challenge: Policy Playground 🌟 #9

gemanor opened this issue Oct 28, 2024 · 5 comments

Comments

@gemanor
Copy link
Collaborator

gemanor commented Oct 28, 2024

Are you thinking of cool ways AI can enhance the authorization game? This is one of our 10 community feature challenges, and we want your input on how we can enhance the Permit CLI in the area of policy playground. This is a space for you to share your ideas on what would make this part of the CLI even better!

How to Participate

  • Submit Your Proposal: Comment below with your detailed feature idea. Be sure to explain how it would work and why it would be valuable for users.
  • Vote for Your Favorites: Show support for your favorite ideas by upvoting them. Your votes will help us identify the most impactful proposals.
  • Win a Bounty: The idea with the most upvotes will be selected, and we’ll put a bounty on it! This means that you (or another contributor) could bring this feature to life and earn a reward.

Why Join In?

  • Shape the Future: Your input will directly influence Permit CLI’s growth.
  • Community Recognition: Contributing ideas or supporting others’ ideas lets you stand out as a valuable community member.
  • Collaborative Ownership: Together, we’ll build a CLI that truly reflects the community’s needs and creativity.

What’s Next?

We’ll keep this challenge open for proposals and upvotes until November 10th, 2024. Once the top idea is chosen, we’ll update this issue with details on the bounty and the next steps for development.

Thank you for helping us make the Permit CLI even better. We can’t wait to see what you come up with! 🌟

@gemanor
Copy link
Collaborator Author

gemanor commented Oct 28, 2024

/bounty 200

Copy link

algora-pbc bot commented Oct 28, 2024

💎 $200 bounty • Permit.io

Steps to solve:

  1. Start working: Comment /attempt #9 with your implementation plan
  2. Submit work: Create a pull request including /claim #9 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to permitio/permit-cli!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @lota02 Oct 29, 2024, 6:16:38 PM WIP
🟢 @vishwamartur Nov 15, 2024, 7:14:54 AM WIP

@lota02
Copy link

lota02 commented Oct 29, 2024

/attempt #9
Proposal: AI-Powered Policy Builder and Testing Environment
Description: Implement an AI-powered interactive policy builder that allows users to create and visualize policies directly in the CLI. Additionally, include a sandbox testing environment to simulate policy behavior.

FEATURES

  • Interactive Builder: Users can initiate a command (permit playground build) to create policies through a step-by-step interface, with visual representation and prompts for input.
  • AI Suggestions: Based on user context, the AI suggests policy structures and rules to streamline policy creation.
  • Testing Environment: Users can test their policies in real-time by running scenarios (permit playground test) to see access results and evaluation logs.

BENEFITS
This feature enhances usability, reduces the time needed for policy creation, and allows for thorough validation, ensuring more secure and effective authorization strategies.

@vishwamartur
Copy link

vishwamartur commented Nov 15, 2024

/attempt #9

vishwamartur added a commit to vishwamartur/permit-cli that referenced this issue Nov 15, 2024
Related to permitio#9

Implement an AI-powered policy builder and testing environment in the Permit CLI.

* **New Commands**:
  - Add `permit playground build` command for interactive policy creation with AI suggestions.
  - Add `permit playground test` command for real-time policy testing and evaluation logs.

* **Documentation**:
  - Update `README.md` to include new commands and their usage.
  - Describe the new AI-powered policy builder and testing environment features.

* **Dependencies**:
  - Update `package.json` to include dependencies for AI-powered features.
  - Add scripts for building and testing the new features.

* **Command Implementations**:
  - Create `source/commands/playground/build.tsx` to implement the `permit playground build` command.
  - Create `source/commands/playground/test.tsx` to implement the `permit playground test` command.

* **Command Index**:
  - Update `source/commands/index.tsx` to include entries for the new `permit playground build` and `permit playground test` commands.
vishwamartur added a commit to vishwamartur/permit-cli that referenced this issue Nov 15, 2024
Related to permitio#9

Implement an AI-powered policy builder and testing environment in the Permit CLI.

* **New Commands**:
  - Add `permit playground build` command for interactive policy creation with AI suggestions.
  - Add `permit playground test` command for real-time policy testing and evaluation logs.

* **Documentation**:
  - Update `README.md` to include new commands and their usage.
  - Describe the new AI-powered policy builder and testing environment features.

* **Dependencies**:
  - Update `package.json` to include dependencies for AI-powered features.
  - Add scripts for building and testing the new features.

* **Command Implementations**:
  - Create `source/commands/playground/build.tsx` to implement the `permit playground build` command.
  - Create `source/commands/playground/test.tsx` to implement the `permit playground test` command.

* **Command Index**:
  - Update `source/commands/index.tsx` to include entries for the new `permit playground build` and `permit playground test` commands.

Signed-off-by: Vishwanath Martur <[email protected]>
@gemanor
Copy link
Collaborator Author

gemanor commented Nov 24, 2024

Hey, @vishwamartur, your basic idea sounds good, but the PR wasn't the direction we should go with (it uses APIs that are not exist).
Please let me know in the next 48 hours if you have a practical idea for an MVP, and I'll assign it to you. Please include design/implementation plan/timeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants