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

Complete UIWindowRequestPermission implementation for general permission requests #821

Open
jelveh opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jelveh
Copy link
Contributor

jelveh commented Oct 31, 2024

The UIWindowRequestPermission component needs to be completed to serve as a standardized permission request dialog that apps can use to request various types of permissions from users. This will provide a consistent and secure way for apps to request permissions across the Puter platform.

Current State

The UIWindowRequestPermission exists but needs to be finalized and expanded to handle different types of permission requests in a flexible and reusable way.

Requirements

  • Generic permission request dialog that can be customized for different permission types
  • Clear presentation of what permission is being requested
  • Explanation of why the permission is needed
  • Standard accept/deny actions
  • Ability to remember user's choice (where appropriate)
  • Consistent styling with Puter's design system

Proposed Permission Types Support

  • File system access (read/write to specific directories)
  • Network access
  • System API access
  • Background processing permissions
  • User data access (email, etc)
@jelveh jelveh added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant