Project

General

Profile

Actions

Bug #38619

closed

When using foreman-rake command to reset the password, if the user is not a valid account, the same will be created with admin privileges

Added by Arvind Jangir 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Authentication
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When using foreman-rake command to reset the password, if the user is not a valid account, the same will be created with admin privileges

How reproducible:

100%

Is this issue a regression from an earlier version:

Steps to Reproduce:

1. deploy a new satellite

2. open a cli, and execute the command below

foreman-rake permissions:reset username=bclark password=changeme
Actual behavior:
Create a new user bclark with that credential

Expected behavior:
Once the user is not a valid user, this should complain and stop, not creating a new user

Actions #1

Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10628 added
Actions #2

Updated by Ewoud Kohl van Wijngaarden 8 months ago

  • Red Hat JIRA set to SAT-34243
Actions #3

Updated by The Foreman Bot 7 months ago

  • Fixed in Releases 3.16.0 added
Actions #4

Updated by Anonymous 7 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF