Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-34243

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

XMLWordPrintable

    • 3
    • False
    • Important
    • Satellite Rocket Sprint 1, Satellite Rocket Sprint 2
    • sat-rocket
    • None
    • None
    • Proposed
    • Manual

      Description of problem:

      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

       

      Business Impact / Additional info:

       

              rh-ee-ajangir Arvind Jangir
              rhn-support-wpinheir Waldirio Pinheiro
              Arvind Jangir
              Akshay Gadhave Akshay Gadhave
              Leos Stejskal Leos Stejskal
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: