Bug 1099988
| Summary: | User mail address should either be always optional or always required | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Elyézer Rezende <erezende> |
| Component: | Users & Roles | Assignee: | Ohad Levy <ohadlevy> |
| Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | adujicek, bbuckingham, fvzwieten, jhutar, jyejare, sghai |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/5897 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 08:40:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Elyézer Rezende
2014-05-21 17:59:02 UTC
This is currently by design, so an admin can create a user without an e-mail address and they're forced to update it on their first login. I'm not sure that's a great design though and would prefer to simply make it optional. Created redmine issue http://projects.theforeman.org/issues/5897 from this bug *** Bug 1111649 has been marked as a duplicate of this bug. *** *** Bug 1110314 has been marked as a duplicate of this bug. *** *** Bug 1192337 has been marked as a duplicate of this bug. *** Upstream bug assigned to tcaspy Moving to POST since upstream bug http://projects.theforeman.org/issues/5897 has been closed ------------- Tom Caspy Applied in changeset commit:564b322f82ec9c4b8f6d4d1b9be82c71c801c16d. This is still present in 6.1.1 Verified in Upstream. While creating user it forcefully asked for email to enter: [root@qeblade36 ~]# hammer user create --login testuser --password userpasswd --auth-source-id 1 Could not create the user: Missing arguments for 'user[mail]' Also observed this, email id as '': (Somewhat doubtful, If this is a bug please reopen this bug) [root@qeblade36 ~]# hammer user create --login testuser --password userpasswd --auth-source-id 1 --mail '' User [testuser] created And, when email was nil(Also when email exist), while updating user it didn't forced me to enter email: [root@qeblade36 ~]# hammer user list ---|----------|------------|-------------------------------- ID | LOGIN | NAME | EMAIL ---|----------|------------|-------------------------------- 3 | admin | Admin User | root.eng.bos.redhat.com 4 | testuser | | ---|----------|------------|-------------------------------- [root@qeblade36 ~]# hammer user update --id 4 --login usertest User [usertest] updated So, moving the bug to verified state. Versions tested on: foreman-release-1.10.0-0.develop.201509071606gitfd06f4f.el7.noarch foreman-1.10.0-0.develop.201509071606gitfd06f4f.el7.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1500 |