Project

Profile

Help

Issue #4809

Custom Distributions cannot be disabled from being served by the content app

Added by bmbouter 5 months ago. Updated 5 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

The content app searches for the distribution according to the Master model, BaseDistribution. It has a line like:

BaseDistribution.objects.get(base_path__in=base_paths)

This will include any subclass of BaseDistribution that a plugin writer has configured to be handled by a handler they provide. If that handler doesn't match it will be handled by the default handler which would serve that content as well. This is probably not what the plugin writer wanted.

There should be a way to disable a custom Distribution from serving through the Pulp content app default handler.

History

#1 Updated by bmbouter 5 months ago

In thinking about this more I don't think it's something that would actually happen because the url would be matched by the plugin provided handler so it wouldn't reach the default handler.

#2 Updated by amacdona@redhat.com 5 months ago

  • Triaged changed from No to Yes

Please register to edit this issue

Also available in: Atom PDF