As a work-around for deleting an organization with some product not tracked in Katello this products were deleted right after the manifest. The problem with with this showed up, when an uebercert was created (and therefore a product that is not in the Katello). When reimporting, Katello tried to remove this ueber product which caused validation error on the Candlepin side. Therefore now we don't delete any product on manifest import. It seems this problem with untracked products that caused problem on deleting an organization got away with new manifest.
Before this commit, Katello removed CP content after importing manifest. Also custom content was created in the time of promotion instead of on product creation. Manipulating the RedHat content out of Candlepin tent to break Candlepin re-import functionality. It also got broken after importing manifest for more organizations. After this commit the content is created only on product creation (manual or through manifest import) and nothing changes on the CP side when promoting products or repositories.
Instead of deleting content in CP to create customized content url we set Pulp repository accoriding to original content url.
https://bugzilla.redhat.com/show_bug.cgi?id=754526 Choosing "No Default Organization" works now + Bug 754855 - User cannot change default system environment on their own https://bugzilla.redhat.com/show_bug.cgi?id=754855 User editing own account now allows editing of default env + Bug 760563 - User cannot see their roles & permissions https://bugzilla.redhat.com/show_bug.cgi?id=760563 User editing their own account can see (but not modify) their roles + Bug 760635 - Creating new user with "No Default Organization" is awkward/broken. https://bugzilla.redhat.com/show_bug.cgi?id=760635 Save button on Environments tab now properly enables/disables based upon current choice vs. current default.
this commit will start stop the status poller based on whether or not we have a task to monitor...
This commit has a couple of small fixes... 1. disable add/remove links while an action is being scheduled... once scheduled, user may schedule additional actions... 2. fix issue where a content add/remove with multiple comma-separated items wasn't cleaning the js structures properly