Actions
Issue #7802
closedWhen I use CollectionRemote.auth_url I also need to use CollectionRemote.token and vice versa
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 85
Quarter:
Q4-2020
Description
Right now users can create a CollectionRemote
with either auth_url
, or token
, or both. The downloaders though require both auth_url
and token
to be set for meaningful operation. ansible-galaxy
CLI clients only would use token
alone as a Github token when uploading which pulp_ansible does not currently support.
Actions
Adds validation to
CollectionRemoteSerializer
When using either the
token
orauth_url
attributes, ensure the user is using both.closes #7802