Project

General

Profile

Feature #4524

The logged in user should be the default one in create new hosts

Added by Martin Ducar almost 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Somewhere along the way we have lost this requested feature [452]. I have a simple solution in the views file.


Related issues

Related to Foreman - Feature #452: the logged in user should be the default owner when creating new hostsClosed2010-11-11
Related to Foreman - Feature #14013: Add setting for the default owner of new hostsClosed2016-03-02
Has duplicate Foreman - Feature #4532: Default new host owner to currently logged in userDuplicate2014-03-03
Has duplicate Foreman - Bug #3771: Foreman 1.3.0: owner not populated for new hosts by defaultDuplicate2013-11-27

Associated revisions

Revision 19579f87 (diff)
Added by Martin Ducar almost 7 years ago

fixes #4524 - The logged in user should be the default one in create new hosts

Revision 56226574 (diff)
Added by Martin Ducar over 6 years ago

fixes #4524 - The logged in user should be the default one in create new hosts

(cherry picked from commit 19579f872c1b4a512500f8e07f0b066180574e4e)

History

#1 Updated by Dominic Cleal almost 7 years ago

  • Related to Feature #452: the logged in user should be the default owner when creating new hosts added

#2 Updated by Dominic Cleal almost 7 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.9.0

#3 Updated by Dominic Cleal almost 7 years ago

  • Has duplicate Feature #4532: Default new host owner to currently logged in user added

#4 Updated by Bryce Camp almost 7 years ago

I have tested this, it is not resolved. The form for a new host continues to show "Select an owner" as the default

#5 Updated by Martin Ducar almost 7 years ago

Yes it is true, but this new change should set the user that host is assigned to after you create it to the currently logged in. My previous change was changing it only in web template.

#6 Updated by Dominic Cleal almost 7 years ago

Interesting point, which makes more sense to you Martin? I'm wondering if we need both, since a host created through the API would find the change to the model useful, but seeing it explicitly set on the form might be best for GUI users.

#7 Updated by Bryce Camp almost 7 years ago

Showing this for GUI users would be greatly appreciated.

#8 Updated by Martin Ducar almost 7 years ago

I'm preparing the new change with both solutions

#9 Updated by Dominic Cleal almost 7 years ago

  • Legacy Backlogs Release (now unused) set to 7

#10 Updated by Martin Ducar almost 7 years ago

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

#11 Updated by Dominic Cleal over 6 years ago

  • Has duplicate Bug #3771: Foreman 1.3.0: owner not populated for new hosts by default added

#12 Updated by Dominic Cleal almost 5 years ago

  • Related to Feature #14013: Add setting for the default owner of new hosts added

Also available in: Atom PDF