Bug 744017 - User with no rights getting 500 error on Dashboard login
Summary: User with no rights getting 500 error on Dashboard login
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Katello
Classification: Retired
Component: WebUI
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jason E. Rist
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-06 18:38 UTC by Corey Welton
Modified: 2013-02-27 04:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-07 18:34:42 UTC


Attachments (Terms of Use)

Description Corey Welton 2011-10-06 18:38:32 UTC
Description of problem:
User with no roles/perms gets a 500 on dashboard, upon loging in

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  Install a fresh copy of katello and wipe db if necessary[1]
2.  Login as admin and create a new user called "norights". Grant this user no permissions/roles.
3.  Logout and attempt to login as this user
  
Actual results:
Upon login, the following text on the dashboard.

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


Expected results:

User gets no error

Additional info:
[1] I suppose there's a possibility that the problem is the db wipe script; I have not tried installing on a completely fresh system to see if this still occurs there.

Comment 1 Corey Welton 2011-10-07 18:34:42 UTC
This seems to have fixed itself, somewhere along the way. Closing.


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