Bug 1007488 - SAM 1.2.1 > 1.3 upgrade, CLI - permissions list get lost after upgrade
SAM 1.2.1 > 1.3 upgrade, CLI - permissions list get lost after upgrade
Status: CLOSED NOTABUG
Product: Subscription Asset Manager
Classification: Red Hat
Component: Docs Release Notes (Show other bugs)
1.3
Unspecified Unspecified
unspecified Severity high
: rc
: ---
Assigned To: Deon Ballard
Katello Bug Bin
: Reopened
Depends On:
Blocks: sam13-tracker
  Show dependency treegraph
 
Reported: 2013-09-12 11:04 EDT by Hayk Hovsepyan
Modified: 2013-09-27 17:44 EDT (History)
4 users (show)

See Also:
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 09:18:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
hhovsepy: automate_bug+


Attachments (Terms of Use)

  None (edit)
Description Hayk Hovsepyan 2013-09-12 11:04:48 EDT
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 11:25:24 EDT
This is correct. With the removal of environments in headpin, all permissions referring to environments are removed during upgrade.

Note You need to log in before you can comment on or make changes to this bug.