Project

General

Profile

Actions

Refactor #5575

closed

Rename Katello model KTEnvironment to LifecycleEnvironment

Added by Partha Aji almost 10 years ago. Updated over 4 years ago.

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

Description

To prevent conflicts with foreman's environment, the environment related routes in Katello are going to get renamed to lifecycleEnvironment. This has already happened on UI . However the model in katello is still inconsistently named KTEnvironment as opposed LifecycleEnvironment. At some point in the near future we are going to have to do this rename.

Also foreman's permission system uses the name of a model to translate to appropriate routing path. If the model is KTEnvironment it expects that this model will govern kt_environment* paths. With the kt_environment* paths now called lifecycle_environment paths we are going to run into issues (hopefully foreman will fix this ,,,)

So this rename needs to happen.

Actions

Also available in: Atom PDF