Katello/katello — pull request #1659 by bbuckingham (2013-02-26 23:50:05+00:00)
Title: content views - ui - composite view promotion - help users with component views

When promoting a composite view to the "dev" environment,
the process basically takes the version of each of the
component views that is in "dev" and generates a new
composite view in "dev" from those components. This
requires that all of the component views have already
been promoted to dev.

In order to simplify this process for the user, this
commit performs the following:

- if the user adds a composite view to a changeset, automatically
add any component views to the changeset that have neither
already been promoted to the next environment nor have been
added to the changeset. This will only be done for those
component views that the user has permission to promote.
The user will be informed via a 'message' notice of
and component views that were added to the changeset for them.

- if the user later removes one of those component views, when
they attempt to promote the changeset, generate an error
to inform them of the need to also promote the component
view