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 735747

Summary: Getting [object object] on UI while adding 'organization' specific permissions to a role
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: 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 17:55:19 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    
Attachments:
Description Flags
depicts [object object] in UI and no user notification generated for this
none
Getting Internal Server Error while deleting that role, this makes the stale entries of roles none

Description Sachin Ghai 2011-09-05 09:31:02 UTC
Description of problem:
I tried to create a role and start adding 'organization specific permissions to that role. However after adding the appropriate permissions to that role, got a pop-up on UI saying [object] [object]. See the first attachment.

Version-Release number of selected component (if applicable):
katello-0.1.75-1.git.41.2e9f377.fc15.noarch


How reproducible:
always

Steps to Reproduce:
1. Go to administration ==> Role ==> new role
2. Define the name of role say  : 'testrole1' and click save
3.  Now select the testrole1  from left pane as below:
testrole1 ==> Permissions ==> Global Permissions
4. Click '+Add permission' and define permission name say 'org'
5. Click next and select 'organization' from 'Permission for'and click next
6. Select following verbs:
   - Access system
   - Access organization
   - Create organization
   - Register Systems
7. click 'Done'

Actual results:
Pop up appears on UI  with [object object ] and when you click on testrole1 on left pane:

There was an error retrieving that row: Internal Server Error 

See the second attachment for ISE. This makes the stale entries on UI.

Expected results:
Should n't be any error while adding organization specific permissions to a role

Additional info:

This happens only when you choose following verbs while defining permissions for 'Organization' tab

   - Access system
   - Access organization
   - Create organization
   - Register Systems

if we don't select the 'create organization' verb then it successfully adds the permissions to defined role without any error.

Comment 1 Sachin Ghai 2011-09-05 09:32:40 UTC
Created attachment 521468 [details]
depicts [object object] in UI and no user notification generated for this

Comment 2 Sachin Ghai 2011-09-05 09:33:53 UTC
Created attachment 521469 [details]
Getting Internal Server Error while deleting that role, this makes the stale entries of roles

Comment 3 Justin Sherrill 2011-09-09 13:35:45 UTC
Should be fixed in master:

e0285476a1c9f68bf95699ae30f001580aeade61

Comment 4 Jeff Weiss 2011-09-26 16:38:42 UTC
Verified, katello-0.1.84-1.git.26.51fa1e1.fc14.noarch

Comment 7 Mike McCune 2013-08-16 18:15:43 UTC
getting rid of 6.0.0 version since that doesn't exist