Project

General

Profile

Actions

Feature #4925

closed

Centralize provider creation. Create 1 anonymous provider per org

Added by Partha Aji about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Katello now creates 1 redhat provider and 1 anonymous provider per organization to store the redhat and custom products. This change implies that code creating custom providers from the API/CLI should be removed to avoid the confusion for a user. There by the following changes are proprosed
  1. Remove providers controller for v1, v2 APIs. Details now required with respect to list of products can be obtained in the products controller in any case.
  2. Remove the hammer provider subcommand, because that logic is already in subscriptions and providers/
Actions #1

Updated by Partha Aji about 10 years ago

  • Subject changed from Clean up provider cruft to Centralize provider creation. Create 1 anonymous provider per org

The previous products scheme created an anonymous provider per custom product. So if the org had 10 custom products there could be possibly 10 providers of type "anonymous". These anonymous providers don't serve any purpose, and end up causing issues with permissions. For example we have logic in Katello that allows creation of products with no permission checks, because anonymous providers cant be tagged.
By centralizing anonymous providers we can atleast ensure that the customer has "Manage Redhat Products" permission to allow you to create products. Note this permission will be tweaked further in the future but atleast there needs to be a baseline.

Actions #2

Updated by Partha Aji almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:1ae5f6c5c906764e73dd69f9b0f0957edfccd1c7.

Actions #3

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF