Project

General

Profile

Bug #21849

Login field disabled with "External user login can not be changed"

Added by Ivan Necas almost 3 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

1. try to create a user (can be admin)

Current state: the login field is disabled, with info "External user login can not be changed"

Expected state: the login field is enabled

It seems that @user.internal? is false for a new record
https://github.com/theforeman/foreman/blob/02d1635cbfca6e96d46b50d27232e152efb58d9f/app/views/users/_form.html.erb#L24


Related issues

Related to Foreman - Bug #21353: Unable to change the default Satellite username "admin-username"Closed

Associated revisions

Revision 1c8d8811 (diff)
Added by Shira Maximov almost 3 years ago

Fixes #21849 - Check if the user is new before disabling login

History

#1 Updated by Ivan Necas almost 3 years ago

  • Related to Bug #21353: Unable to change the default Satellite username "admin-username" added

#2 Updated by Marek Hulán almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 296

seems like 1.17 regression

#3 Updated by Shira Maximov almost 3 years ago

  • Assignee set to Shira Maximov
  • Status changed from New to Assigned

#4 Updated by The Foreman Bot almost 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5052 added

#5 Updated by Shira Maximov almost 3 years ago

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

#6 Updated by Tomer Brisker 4 months ago

  • Category changed from 218 to Users, Roles and Permissions

Also available in: Atom PDF