Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 744996

Summary: 500 Internal server error : while login with newly created user which has no permissions
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: cwelton, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:00:15 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:
Bug Depends On:    
Bug Blocks: 747354    

Description Sachin Ghai 2011-10-11 06:39:18 UTC
Description of problem:
I created a new user and didn't assign any permission/role to this user. However when I login with this user, got:

-------
500 INTERNAL SERVER ERROR
Sorry about that! It seems something went wrong. If you continue having trouble with this, please contact an Administrator.

You might want to log out and log back in again to clear your cookies.

Error:
undefined method `owner_info' for nil:NilClass
----


Version-Release number of selected component (if applicable):
[root@dhcp201-177 ~]# rpm -qa | grep katello
katello-cli-0.1.10-1.git.585.a6c83c3.fc15.noarch
katello-0.1.89-1.git.0.0619c06.fc15.noarch
katello-repos-0.1.3-1.git.0.db2bd1d.fc15.noarch
katello-all-0.1.89-1.git.0.0619c06.fc15.noarch
katello-configure-0.1.4-1.git.121.1fd6bdc.fc15.noarch
[root@dhcp201-177 ~]# 

How reproducible:
always with Firefox and google chrome browser

Steps to Reproduce:
1. Login with admin user
2. create a new user without assigning roles/permission
3. Login again with newly created user
  
Actual results:

Error:
undefined method `owner_info' for nil:NilClass

Expected results:
UI shouldn't raise any error while login with user which has no permissions.

Additional info:

Comment 2 Corey Welton 2011-10-25 03:46:49 UTC
QA Verified