Bug 1107696

Summary: Plugin permissions are skipped during migration from old to new system
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: ProvisioningAssignee: Marek Hulan <mhulan>
Status: CLOSED UPSTREAM QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cwelton, dcleal, jmontleo, mhulan, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5689
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-01 10:13:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bryan Kearney 2014-06-10 12:52:08 UTC
Plugin initializer is loaded only once when running multiple migrations. Since plugin permissions are ignored (permissions table does not exist yet) they are not created in database and permission migration can't migrate them. Therefore we must find all plugin permission during permission migration and create them before that.

Comment 1 Bryan Kearney 2014-06-10 12:52:10 UTC
Created from redmine issue http://projects.theforeman.org/issues/5689

Comment 2 Bryan Kearney 2014-06-10 12:52:20 UTC
Upstream bug assigned to mhulan

Comment 3 Bryan Kearney 2014-06-10 13:04:20 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/5689 has been closed

Comment 6 Tazim Kolhar 2014-08-27 12:13:12 UTC
please provide verification steps

Comment 7 Dominic Cleal 2014-09-01 10:13:57 UTC
It tests upgrades from older versions of Foreman with plugins installed to the current version.  It doesn't make sense to test upgrades *to* Satellite 6.0, so closing.  I've just verified that the code is indeed included.