Story #6894
closedAs a user, I can use token auth in pulp_container 2.0.0
100%
Description
The token authentication verification code needs to be refactored into a Django-REST-Framework compatible Authentication class.
Redirects to the content app need to contain a query parameter that will allow the content app to confirm that the user has permission to access the content it is requesting. This could possibly be the token also.
Once token auth is added back, all the tests that were disabled or modified need to be reverted to their original form so that token auth is being tested in CI. Revert this commit: https://github.com/pulp/pulp_container/commit/946eacfed12fa54aa89a3da293c4e03b3bb84580
Updated by dkliban@redhat.com over 4 years ago
- Description updated (diff)
Here is a very small start to the refactor: https://github.com/dkliban/pulp_container/commit/7f595d3656c33c92f0560a64b73a08548ea23ca2
Updated by mdellweg over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to mdellweg
Updated by mdellweg over 4 years ago
I think the authenticating querystring to the content app should actually be verified by a content_guard.
Updated by ipanova@redhat.com over 4 years ago
- Project changed from Pulp to Container Support
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Updated by pulpbot over 4 years ago
Added by dkliban@redhat.com over 4 years ago
Added by dkliban@redhat.com over 4 years ago
Revision 5914501f | View on GitHub
Refactor token auth to api-app
Added by mdellweg over 4 years ago
Revision 02564d77 | View on GitHub
Add ContentRedirectContentGuard
Added by mdellweg over 4 years ago
Revision 02564d77 | View on GitHub
Add ContentRedirectContentGuard
Updated by mdellweg over 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 02564d779a5cfaf13b46a8500bf8541c733b2d17.
Updated by pulpbot over 4 years ago
Updated by pulpbot over 4 years ago
Updated by mdellweg over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Refactor token auth to api-app
re #6894 https://pulp.plan.io/issues/6894