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 1107702

Summary: Users permissions on hosts are not working properly with organizations
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: ProvisioningAssignee: Marek Hulan <mhulan>
Status: CLOSED CURRENTRELEASE QA Contact: Ales Dujicek <adujicek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: adujicek, bbuckingham, cperry, dlobatog, ehelms, jmontleo, lzap, stbenjam, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5664
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:27:17 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:

Description Bryan Kearney 2014-06-10 12:53:53 UTC
Hi , 
After an upgrade from 1.4.1 to 1.5 , users are unable to perform their old tasks (build ,run puppet , edit hosts etc) .
After taking a closer look at the user permissions , I've noticed that old user roles were renamed to "Anonymous_<username>_<oldrole> " .
I really have to sort it out quickly since users can't work . 
I tried removing the new roles and adding back the old ones but it didn't fix everything ,now those "manually edited" users appear in red under:
organizations --> QE-Test->users 
and cannot be associated with the org (qe-test).

Thanks !

Comment 1 Bryan Kearney 2014-06-10 12:53:55 UTC
Created from redmine issue http://projects.theforeman.org/issues/5664

Comment 2 Bryan Kearney 2014-06-10 12:54:00 UTC
Upstream bug assigned to mhulan

Comment 3 Bryan Kearney 2014-06-10 13:04:36 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/5664 has been closed

Comment 6 Bryan Kearney 2014-07-14 20:03:07 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/5664 has been closed
-------------
Marek Hulán
Migration works correctly. I fixed the scopes on Host object, since it does not include Taxonomix (because host belongs to one taxonomy) we have to define scope manually.

PR is here https://github.com/theforeman/foreman/pull/1438
-------------
Marek Hulán
Applied in changeset commit:82b4749eeddabc542ebf1eaec6fdf2d76d2fdd75.

Comment 9 Ales Dujicek 2014-09-02 14:04:22 UTC
Verified.
User with Host/Managed permissions works well.

Comment 10 Bryan Kearney 2014-09-11 12:27:17 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.