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

Move s3 settings to configuration #26

Open
6 tasks
tarunbhardwaj opened this issue May 6, 2015 · 0 comments
Open
6 tasks

Move s3 settings to configuration #26

tarunbhardwaj opened this issue May 6, 2015 · 0 comments

Comments

@tarunbhardwaj
Copy link
Contributor

The current design has several issues:

  • stores credentials in database (while most users are careful, a leak of the credentials could mean damage if the IAM key has more powers than it deserves)
  • The backend type selection at file level is confusing. It should be at folder level.
  • The public and private nature largely depends on how the bucket is configured.

Tasks

  • Add s3 as a type to folder.
  • If type is s3, then ask if the content should be private is_private
  • Ensure that the folder name cannot be _private since that would be the prefix for private files
  • Ensure that the is_private flag cannot be changed once files are added to a folder.

Documentation:

  • Steps for migrating from previous version
  • Write an example bucket policy and credential policy with minimal permissions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant