Bug 1336146

Summary: ActiveRecord::StatementInvalid in Users#edit for non-admin user with all roles
Product: Red Hat Satellite Reporter: Andrew Kofink <akofink>
Component: DashboardAssignee: Andrew Kofink <akofink>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/15053
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 14:38:33 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:
Attachments:
Description Flags
stack trace none

Description Andrew Kofink 2016-05-14 21:05:09 UTC
Created attachment 1157535 [details]
stack trace

Description of problem:
An ActiveRecord::StatementInvalid is thrown when a non-admin user with all RBAC roles assigned logs in.

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

How reproducible:
Always

Steps to Reproduce:
1. Log in as an admin user
2. Create a new user
2a. Assign the new user all the roles
3. Logout and log in as the new user

Actual results:
ActiveRecord::StatementInvalid in Users#edit
https://paste.fedoraproject.org/366171/46316878/

Expected results:
The main dashboard is successfully rendered.

Additional info:

Comment 1 Andrew Kofink 2016-05-14 22:08:15 UTC
Created redmine issue http://projects.theforeman.org/issues/15053 from this bug

Comment 3 Andrew Kofink 2016-07-27 14:38:33 UTC
Closing this as the issue is no longer able to be reproduced.