Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1204686 - User can be created - with empty email address - It should not allow to do so
Summary: User can be created - with empty email address - It should not allow to do so
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-23 11:18 UTC by Tazim Kolhar
Modified: 2017-01-11 20:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-11 20:37:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10946 0 Normal New User mail address should either be always optional or always required 2020-01-28 08:38:29 UTC

Description Tazim Kolhar 2015-03-23 11:18:18 UTC
Description of problem:
User can be created - with empty email address - It should not allow to do so

Version-Release number of selected component (if applicable):
# rpm -q foreman
foreman-1.7.2.13-1.el7sat.noarch


How reproducible:
everytime

Steps to Reproduce:
1.#  hammer -v -u admin -p changeme --output=csv user create --firstname="RnlEVl" --lastname="tE" --mail="" --login="OnFj" --password="WvjnhhwIPp" --auth-source-id="1"
Message,Id
User created,135

2.
3.

Actual results:
user is created

Expected results:
it should throw error email address empty

Additional info:

Comment 1 RHEL Program Management 2015-03-23 11:33:08 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Brad Buckingham 2015-11-19 23:07:09 UTC
Created redmine issue http://projects.theforeman.org/issues/12542 from this bug

Comment 4 Bryan Kearney 2015-11-20 01:00:32 UTC
Upstream bug component is Provisioning

Comment 5 Bryan Kearney 2015-12-02 20:08:25 UTC
Algning this to a slightly different upsytream bug. Please look upsrtream for how to test when this is fixed.

Comment 6 Bryan Kearney 2015-12-02 20:09:02 UTC
Connecting redmine issue http://projects.theforeman.org/issues/10946 from this bug

Comment 7 Bryan Kearney 2015-12-02 21:00:35 UTC
Upstream bug component is Users & Roles

Comment 9 Bryan Kearney 2016-07-08 20:32:55 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 11 Bryan Kearney 2017-01-11 20:37:49 UTC
This is an older bug which I do not envision being fixed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.


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