-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
ANSTRAT-419 - Repository Management
Requires: AAH-2104
Problem Description: Inbound repositories need to be removed for repository management so that we can support cleaner workflows for uploading and promoting content in hub.
Update the CollectionUpload viewset (https://github.com/ansible/galaxy_ng/blob/8b9432fe30f1f8231e2783d890c261d6ce63b888/galaxy_ng/app/api/v3/viewsets/collection.py#L232) so that:
- Uploading a collection with a client configured for default URL (http://localhost:5001/api/automation-hub/) uploads collections into the staging repository.
- Uploading a collection with a client configured for an inbound repository URL (http://localhost:5001/api/automation-hub/content/inbound-\ {namespace}
/) uploads the collection into the staging repository. This can be done with a migration to point the inbound distributions to the staging repository. The old inbound repositories should be deleted.
- Uploading uploading collections is gated by permissions that the user has on the repository
- Staging should have default permissions that allow uploads
- All other repos should have default permissions that prevent users from uploading to them directly
- Users creating new repositories will have the ability to set these permissions.
- blocks
-
AAH-1778 Remove inbound repositories (UI)
- Closed