Use a Dedicated GitHub Repository for Each Vizably User
Description
Summary
Update Vizably's GitHub storage architecture so that each user has a dedicated GitHub repository for storing their Vizably account data and scan results.
Problem
The current GitHub storage workflow needs to clearly define how repositories are associated with individual users. Using one dedicated repository per user provides a consistent and isolated storage location for each user's Vizably account and saved scans.
Proposed Work
- Create or assign one GitHub repository to each Vizably user.
- Associate the repository with the user's Vizably account.
- Store the user's vizably.json, scan index, and scan results in their dedicated repository.
- Prevent one user's account data from being stored in or accessed through another user's repository.
- Ensure the authentication and storage flow correctly identify the user's assigned repository.
- Handle repository creation and selection through the existing GitHub storage flow.
- Add automated tests covering repository-to-user association and access control.
Acceptance Criteria
- Each Vizably user has a dedicated GitHub repository.
- User storage is correctly associated with their account.
- Users cannot access another user's Vizably storage through the application.
- Scan results are saved to the user's assigned repository.
- Existing GitHub authentication and storage functionality continues to work.
- Automated tests verify the repository association and access behavior.
Use a Dedicated GitHub Repository for Each Vizably User
Description
Summary
Update Vizably's GitHub storage architecture so that each user has a dedicated GitHub repository for storing their Vizably account data and scan results.
Problem
The current GitHub storage workflow needs to clearly define how repositories are associated with individual users. Using one dedicated repository per user provides a consistent and isolated storage location for each user's Vizably account and saved scans.
Proposed Work
Acceptance Criteria