Bug 1107702 - Users permissions on hosts are not working properly with organizations
Summary: Users permissions on hosts are not working properly with organizations
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Ales Dujicek
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-10 12:53 UTC by Bryan Kearney
Modified: 2019-09-25 20:32 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-11 12:27:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5664 0 None None None 2016-04-22 16:40:28 UTC

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.


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