Actions
Issue #4809
closedCustom Distributions cannot be disabled from being served by the content app
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
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.
Actions