Project

Profile

Help

Issue #4809

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

Added by bmbouter about 1 year ago. Updated about 1 year ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
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 about 1 year 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 about 1 year ago

  • Triaged changed from No to Yes

Please register to edit this issue

Also available in: Atom PDF