Bug #21849
Login field disabled with "External user login can not be changed"
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
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
Associated revisions
History
#1
Updated by Ivan Necas about 3 years ago
- Related to Bug #21353: Unable to change the default Satellite username "admin-username" added
#2
Updated by Marek Hulán about 3 years ago
- Legacy Backlogs Release (now unused) set to 296
seems like 1.17 regression
#3
Updated by Shira Maximov about 3 years ago
- Assignee set to Shira Maximov
- Status changed from New to Assigned
#4
Updated by The Foreman Bot about 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 about 3 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset 1c8d8811c01f801106982221728e12af48c7f964.
#6
Updated by Tomer Brisker 6 months ago
- Category changed from 218 to Users, Roles and Permissions
Fixes #21849 - Check if the user is new before disabling login