Bug 1007488

Summary: SAM 1.2.1 > 1.3 upgrade, CLI - permissions list get lost after upgrade
Product: [Retired] Subscription Asset Manager Reporter: Hayk Hovsepyan <hhovsepy>
Component: Docs Release NotesAssignee: Deon Ballard <dlackey>
Status: CLOSED NOTABUG QA Contact: Katello Bug Bin <katello-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.3CC: bkearney, omaciel, sthirugn, tomckay
Target Milestone: rcKeywords: Reopened
Target Release: ---Flags: hhovsepy: automate_bug+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
With the removal of environments in headpin, all permissions referring to environments are removed during upgrade.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-27 13:18:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 833466    

Description Hayk Hovsepyan 2013-09-12 15:04:48 UTC
Description of problem:
After upgrading SAM 1.2.1 to 1.3 from Snap6, permissions list of user role(with "environments" scope) get lost.

Version-Release number of selected component (if applicable):
Snap6
SAM-1.3.0-RHEL-6-20130912.0/compose

How reproducible:
always

Steps to Reproduce:
1. Install SAM 1.2.1
2. Create user role and create new permission on "environments" scope and "read_contents,update_systems" verbs.
3. Upgrade to SAM Snap6.
4. On CLI try to list permissions for that role, the list is empty. It was showing permissions in previous Snap5, so this is regression.

Actual results:
permissions list for "environments" user role is empty

Expected results:
it must list existing permissions

Additional info:
Role info and role list CLI commands work OK there.
Maybe this new bug is related to fix of https://bugzilla.redhat.com/show_bug.cgi?id=1001327

Comment 2 Tom McKay 2013-09-12 15:25:24 UTC
This is correct. With the removal of environments in headpin, all permissions referring to environments are removed during upgrade.