Project

General

Profile

Feature #6372

Users authenticated via external ldap contain no default context/location

Added by Dominic Cleal about 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Organizations and Locations
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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

Has duplicate Foreman - Feature #13831: on the fly created user should have an optional default org / location.Duplicate2016-02-22
Blocked by Foreman - Feature #6094: Ability to add usergroups to organizationsNew2014-06-06
Follows Foreman - Feature #16624: Make auth sources taxableClosed2016-09-20

Associated revisions

Revision 4db325b0 (diff)
Added by Daniel Lobato Garcia almost 3 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 5 years ago

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

#2 Updated by Dominic Cleal about 5 years ago

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

#3 Updated by Tom Caspy over 4 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 3 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 3 years ago

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

#6 Updated by Daniel Lobato Garcia about 3 years ago

  • Target version set to 117

#7 Updated by Daniel Lobato Garcia about 3 years ago

  • Target version changed from 117 to 1.6.2

#8 Updated by Daniel Lobato Garcia almost 3 years ago

  • Target version changed from 1.6.2 to 117

#9 Updated by Daniel Lobato Garcia almost 3 years ago

#10 Updated by The Foreman Bot almost 3 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 3 years ago

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

#12 Updated by Dominic Cleal almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 189

#13 Updated by Daniel Lobato Garcia almost 3 years ago

  • Target version changed from 117 to 1.5.2

Also available in: Atom PDF