Feature #6372

Users authenticated via external ldap contain no default context/location

Added by Dominic Cleal over 2 years ago. Updated 5 months ago.

Status:Closed
Priority:Normal
Assigned To:Daniel Lobato Garcia
Category:Organizations and Locations
Target version:Team Daniel - iteration 3
Difficulty: Bugzilla link:1104822
Found in release: Pull request:https://github.com/theforeman/foreman/pull/3869
Story points-
Velocity based estimate-
Release1.14.0Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1104822
Upon login using an 'external' user. The user cannot do anything. I've even attempted to specify an external group, but there is no context/location settings in the external group settings.


Related issues

Duplicated by Foreman - Feature #13831: on the fly created user should have an optional default o... Duplicate 02/22/2016
Blocked by Foreman - Feature #6094: Ability to add usergroups to organizations New 06/06/2014
Follows Foreman - Feature #16624: Make auth sources taxable Closed 09/20/2016

Associated revisions

Revision 4db325b0
Added by Daniel Lobato Garcia 5 months ago

Fixes #6372 - User inherits taxonomies from LDAP on creation

In an installation that uses taxonomies, when an user logs in for
the first time and gets its account created via LDAP, it has no
taxonomies.

This is a problem, as even if the user has all the roles it needs from
external user groups, an admin needs to manually set the taxonomies for
every new user.

This commit fixes that by assigning the taxonomies from the LDAP auth
source to the user when it logs in for the first time. It does not
update them on every login, as after the user has logged in, user
taxonomies are left to the Foreman administrator to manage.

History

#1 Updated by Dominic Cleal over 2 years ago

  • Tracker changed from Bug to Feature
  • Category set to Organizations and Locations
  • Assigned To deleted (Dominic Cleal)

#2 Updated by Dominic Cleal over 2 years ago

  • Blocked by Feature #6094: Ability to add usergroups to organizations added

#3 Updated by Tom Caspy about 2 years ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Tom Caspy
  • Pull request https://github.com/theforeman/foreman/pull/2088 added

#4 Updated by Dominic Cleal about 1 year ago

  • Status changed from Ready For Testing to New
  • Assigned To deleted (Tom Caspy)
  • Pull request deleted (https://github.com/theforeman/foreman/pull/2088)

PR was closed.

#5 Updated by Dominic Cleal about 1 year ago

  • Duplicated by Feature #13831: on the fly created user should have an optional default org / location. added

#6 Updated by Daniel Lobato Garcia 7 months ago

  • Target version set to Team Daniel backlog

#7 Updated by Daniel Lobato Garcia 7 months ago

  • Target version changed from Team Daniel backlog to Team Daniel - iteration 2

#8 Updated by Daniel Lobato Garcia 6 months ago

  • Target version changed from Team Daniel - iteration 2 to Team Daniel backlog

#9 Updated by Daniel Lobato Garcia 5 months ago

#10 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/3869 added

#11 Updated by Anonymous 5 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#12 Updated by Dominic Cleal 5 months ago

  • Release set to 1.14.0

#13 Updated by Daniel Lobato Garcia 5 months ago

  • Target version changed from Team Daniel backlog to Team Daniel - iteration 3

Also available in: Atom PDF