Project

Profile

Help

Issue #7312

Allow endpoints to dispatch tasks without authN

Added by daviddavis 10 months ago. Updated 10 months 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

Associated revisions

Revision 380e9895 View on GitHub
Added by bmbouter 10 months ago

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

History

#1 Updated by bmbouter 10 months ago

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

#2 Updated by pulpbot 10 months ago

  • Status changed from ASSIGNED to POST

#3 Updated by bmbouter 10 months ago

  • Status changed from POST to MODIFIED

#4 Updated by dkliban@redhat.com 10 months ago

  • Sprint/Milestone set to 3.6.0

#5 Updated by pulpbot 10 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF