| Summary: | Set a reasonable length on username creation | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Corey Welton <cwelton> |
| Component: | WebUI | Assignee: | Partha Aji <paji> |
| Status: | CLOSED UPSTREAM | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0.0 | CC: | mmccune, sghai |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-19 18:15:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 702052 | ||
| Bug Blocks: | |||
|
Description
Corey Welton
2011-05-13 18:33:10 UTC
Note: We probably should limit role names as well. But they should, at minimum, be username_limit + 5 (so that "_role" can be appended, per current functionality). Don't know if we want a separate bug for this. Side note: While these values seem to be getting accepted for user and role names, my server appears to become unresponsive sometime after entering them. I am not sure if it is just coincidence, but possibly related Unrelated. Ignore comment #2 This should be resolved as of http://axiom.rdu.redhat.com/git/gitweb.cgi?p=kalpana;a=commit;h=4244ac774bad682aafbb3d973289cfe2c86fbeeb Something's still not kosher here.
If i use the very long string from above, I get an error message:
Validation Failed:
Username cannot contain more than 64 characters
However, if I try something else that is even shorter than 64 characters ("012345678901234567890123456789012345678901234567890123456789"), I get a slightly different error message:
Validation Failed:
Name cannot contain more than 64 characters
So distilled:
* Even usernames that are shorter than 64 characters are triggering a failure
* It may or may not be something of a concern that we're evidently going down two slightly separate codepaths here, as is evident in the differing error messages.
Verified with latest katello build: katello-0.1.64-1.git.0.0b431ff.fc15.noarch While creating a user of more than 64 characters a pop-up appears with message: undefined: "Username cannot contain more than 64 characters" However user having less than 64 characters in name is created successfully. But user list looks very ugly due to a long name. And the name is even crossing the Left pane of the screen. So Ideally, either we should truncate the name of the user so as to adjust it in the left pane of user list or we should reduce the no. of characters in the username. mass move to CFSE product. Sounds like this has been resolved in katello 1.2 These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM. If this is a mistake feel free to re-open. |