Bug 1768397 - When saving admin login in browser the effective user for remote execution is prefilled with admin by the browser
Summary: When saving admin login in browser the effective user for remote execution is...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.6.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Leos Stejskal
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-04 10:35 UTC by Kenny Tordeurs
Modified: 2020-02-11 11:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-11 11:44:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
effective user being set to admin by browser (104.88 KB, image/png)
2019-11-04 10:35 UTC, Kenny Tordeurs
no flags Details
saved admin login (67.85 KB, image/png)
2019-11-04 10:36 UTC, Kenny Tordeurs
no flags Details
Admin is being filled out by managed passwords (109.93 KB, image/png)
2019-11-04 10:38 UTC, Kenny Tordeurs
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28911 0 Normal Closed When saving admin login in browser the effective user for remote execution is prefilled with admin by the browser 2020-11-13 19:47:24 UTC

Description Kenny Tordeurs 2019-11-04 10:35:13 UTC
Description of problem:
When the admin user for the login page is saved somehow the effective user during remote job execution was automatically filled in with the user admin causing the remote execution jobs to fail

Version-Release number of selected component (if applicable):
satellite-6.6.0-7.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. Google Chrome => Version 75.0.3770.100 (Official Build) (64-bit)
2. Save login creds for Satellite
3. Launch remote execution job and see effective user filled in with admin

Actual results:
effective user is filled in with admin

Expected results:
No effective user to be set


Additional info:
Removing the admin saved password from Chrome fixes the problem

Comment 3 Kenny Tordeurs 2019-11-04 10:35:54 UTC
Created attachment 1632480 [details]
effective user being set to admin by browser

Comment 4 Kenny Tordeurs 2019-11-04 10:36:31 UTC
Created attachment 1632481 [details]
saved admin login

Comment 5 Kenny Tordeurs 2019-11-04 10:38:45 UTC
Created attachment 1632482 [details]
Admin is being filled out by managed passwords

Comment 6 Leos Stejskal 2020-02-03 09:18:54 UTC
Created redmine issue https://projects.theforeman.org/issues/28911 from this bug

Comment 7 Leos Stejskal 2020-02-03 11:40:33 UTC
This issue is not reproducible on the latest foreman develop branch.
Browsers:
- Firefox 72
- Google Chrome 79

Comment 8 Leos Stejskal 2020-02-03 13:29:22 UTC
Hi,
can you please verify if the issue is still reproducible? I tried Firefox 72 & Google Chrome 79 on Foreman and Satellite and I wasn't able to reproduce this issue.

Comment 9 Kenny Tordeurs 2020-02-04 07:25:40 UTC
I can still reproduce the issue:

satellite-6.6.1-1.el7sat.noarch
Version 78.0.3904.108 (Official Build) (64-bit)

Comment 11 Leos Stejskal 2020-02-10 11:57:27 UTC
After investigation I found that this issue is not on our side, but it's caused by Google Chrome and his ignoring of autocomplete parameter.
There is no "clean" and permanent solution how to fix it, as you can see in this discussion: https://gist.github.com/niksumeiko/360164708c3b326bd1c8

The solution for customer is to not save credentials for Satellite's domain in Chrome's settings.
Also this issue is global problem in a lot of forms where filled values from Chrome cause a different kind of problems (For example Create new host form).


Note You need to log in before you can comment on or make changes to this bug.