Feature #6372

Users authenticated via external ldap contain no default context/location

Added by Dominic Cleal about 4 years ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Daniel Lobato Garcia
Category:Organizations and Locations
Target version:1.14.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link:1104822 Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/3869

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 almost 2 years 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 about 4 years ago

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

#2 Updated by Dominic Cleal about 4 years ago

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

#3 Updated by Tom Caspy over 3 years ago

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

#4 Updated by Dominic Cleal over 2 years ago

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

PR was closed.

#5 Updated by Dominic Cleal over 2 years ago

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

#6 Updated by Daniel Lobato Garcia almost 2 years ago

  • Target version set to 117

#7 Updated by Daniel Lobato Garcia almost 2 years ago

  • Target version changed from 117 to 1.6.2

#8 Updated by Daniel Lobato Garcia almost 2 years ago

  • Target version changed from 1.6.2 to 117

#9 Updated by Daniel Lobato Garcia almost 2 years ago

#10 Updated by The Foreman Bot almost 2 years ago

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

#11 Updated by Anonymous almost 2 years ago

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

#12 Updated by Dominic Cleal almost 2 years ago

  • Legacy Backlogs Release (now unused) set to 189

#13 Updated by Daniel Lobato Garcia almost 2 years ago

  • Target version changed from 117 to 1.5.2

Also available in: Atom PDF