Bug 1015684 - Administrator role vanished in Web UI after upgrading to SAM 1.3
Summary: Administrator role vanished in Web UI after upgrading to SAM 1.3
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tom McKay
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On:
Blocks: sam142-tracker
TreeView+ depends on / blocked
 
Reported: 2013-10-04 20:36 UTC by sthirugn@redhat.com
Modified: 2016-03-11 03:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-11 03:29:07 UTC
Embargoed:


Attachments (Terms of Use)

Description sthirugn@redhat.com 2013-10-04 20:36:40 UTC
Description of problem:
Administrator role vanished in Web UI after upgrading to SAM 1.3

Version-Release number of selected component (if applicable):
* candlepin-0.8.26-1.el6sam.noarch
* candlepin-cert-consumer-sgi-uv20-01.rhts.eng.bos.redhat.com-1.0-1.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.8.26-1.el6sam.noarch
* candlepin-tomcat6-0.8.26-1.el6sam.noarch
* elasticsearch-0.19.9-8.el6sat.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-2.el6sat.noarch
* katello-cli-1.4.3-11.el6sat.noarch
* katello-cli-common-1.4.3-11.el6sat.noarch
* katello-common-1.4.3.19-1.el6sam_splice.noarch
* katello-configure-1.4.4-5.el6sam.noarch
* katello-glue-candlepin-1.4.3.19-1.el6sam_splice.noarch
* katello-glue-elasticsearch-1.4.3.19-1.el6sam_splice.noarch
* katello-headpin-1.4.3.19-1.el6sam_splice.noarch
* katello-headpin-all-1.4.3.19-1.el6sam_splice.noarch
* katello-selinux-1.4.4-2.el6sat.noarch
* thumbslug-0.0.34-1.el6sam.noarch
* thumbslug-selinux-0.0.34-1.el6sam.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install SAM 1.2 or SAM 1.2.1
2. Create user and assign admin rights and perform the following actions as the new user
3. create activation keys
4. Upload Manifest
5. Register a client with activation key
6. Create an ORG
7. Assign Default ORG and Favorite ORG to the user (in step 2)	
8. create new role
9. create new permission
10. Log in as an other admin user and delete user from step 2
11. perform upgrade (https://access.redhat.com/site/documentation/en-US/Red_Hat_Subscription_Asset_Manager/1.2/html/Installation_Guide/sect-Installation_Guide-Administration-Upgrading_Subscription_Asset_Manager.html)

Actual results:
-> Navigate to Roles in Web UI and see the Administrator role is missing
-> user_role list in cli does show the Administrator role


Expected results:
-> Administrator role should be visible in UI

Additional info:

Comment 1 Tom McKay 2013-10-07 17:47:20 UTC
Branch: refs/heads/master
  Home:   https://github.com/Katello/katello
  Commit: 378540f7adf4b70d3af8bad0ee4d00f45cd77fb6
      https://github.com/Katello/katello/commit/378540f7adf4b70d3af8bad0ee4d00f45cd77fb6
  Author: Tom McKay <thomasmckay>
  Date:   2013-10-07 (Mon, 07 Oct 2013)

Comment 2 sthirugn@redhat.com 2014-06-25 16:59:28 UTC
Retested with SAM 1.4.  This happens in SAM 1.4 also.  May be the fix in Comment 1 was never cherrypicked.


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