Project

Profile

Help

Issue #7312

closed

Allow endpoints to dispatch tasks without authN

Added by daviddavis over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 79
Quarter:

Description

The pulp_ansible plugin is failing because it has an endpoint that dispatches a task without a logged in user.

https://travis-ci.com/github/pulp/pulp_ansible/builds/179335202

Actions #1

Updated by bmbouter over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter
  • Sprint set to Sprint 79
Actions #2

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST

Added by bmbouter over 4 years ago

Revision 380e9895 | View on GitHub

Skip permissions assignment when there is no user

Allow pulpcore.plugin.models.AutoAddObjPermsMixin.add_for_object_creator to skip assignment of permissions if there is no known user. This allows endpoints that do not use authorization but still create objects in the DB to execute without error.

closes #7312

Actions #3

Updated by bmbouter over 4 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by dkliban@redhat.com over 4 years ago

  • Sprint/Milestone set to 3.6.0
Actions #5

Updated by pulpbot over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF