Bug 1412209
Summary: | Local user disappears from user-group with external group | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jiri Vavra <jivavra> | ||||
Component: | LDAP | Assignee: | Daniel Lobato Garcia <dlobatog> | ||||
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.2.0 | CC: | bbuckingham, dhlavacd, egolov, jcallaha, mhulan, sjagtap | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | foreman-1.15.6.9 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-02-21 16:54:37 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
Jiri Vavra
2017-01-11 14:21:30 UTC
The reason is likely that we don't check auth source of user when we refresh the user group. We should probably only manipulate users with auth source defined in external user group mapping. It's expected - the moment you have external user groups in a user group, Satellite will only put users from the external user group there. A good workaround for this would be to display some message explaining this and block users from being added manually when you have external user groups. I would expect this for 6.3 though Created redmine issue http://projects.theforeman.org/issues/21502 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21502 has been resolved. Build: Satellite 6.3.0 snap 30 Created a Ldap Auth source Associated a user group with auth source Created a Internal user and associated it with created user group hammer user list hammer user info ---|-------|------------|------------------------------------|-------|---------------------|-------------- ID | LOGIN | NAME | EMAIL | ADMIN | LAST LOGIN | AUTHORIZED BY ---|-------|------------|------------------------------------|-------|---------------------|-------------- 3 | admin | Admin User | root@ | yes | 2018/01/04 10:15:42 | Internal 7 | Ohno | Oh no | Ohno | no | 2018/01/04 10:18:08 | Internal ---|-------|------------|------------------------------------|-------|---------------------|-------------- [root@qe-capsule-feature-rhel6 ~]# hammer user info --id 7 Id: 7 Login: Ohno Name: Oh no Email: Ohno Admin: no Last login: 2018/01/04 10:18:08 Authorized by: Internal Effective admin: no Locale: default Timezone: Description: Default organization: Default location: Roles: User groups: 1) Usergroup: idm Roles: Site manager Compliance viewer Compliance manager Inherited User groups: Locations: Default Location Organizations: Default Organization Created at: 2018/01/04 10:16:53 Updated at: 2018/01/04 10:16:53 hammer> user-group info --id 1 Id: 1 Name: idm Admin: no Users: Ohno User groups: Inherited User groups: 1) Usergroup: Roles: External user groups: foobargroup Roles: Site manager Compliance viewer Compliance manager Created at: 2017/12/26 13:58:04 Updated at: 2017/12/26 13:58:04 Created attachment 1376782 [details]
user group UI
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> >
> > For information on the advisory, and where to find the updated files, follow the link below.
> >
> > If the solution does not work for you, open a new bug report.
> >
> > https://access.redhat.com/errata/RHSA-2018:0336
|