Bug 783425
Summary: | Getting account disable value as 'none' instead of 'false' after creating new user | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> |
Component: | API | Assignee: | Tomas Strachota <tstrachota> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.0 | CC: | bkearney |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | katello-cli-0.1.49-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-22 18:21:32 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 747354 |
Description
Sachin Ghai
2012-01-20 11:34:24 UTC
Default value of option --disabled set to False in both user create and update. Verified with following katello build: katello-0.1.211-1.el6.noarch katello-cli-0.1.49-1.el6.noarch Default value is set to false: ===================== katello> user create --username testuser --password redhat --email sghai Successfully created user [ testuser ] katello> user list -------------------------------------------------------------------------- User List Id Username Email Disabled -------------------------------------------------------------------------- 1 admin root@localhost False 2 testuser sghai False Update the disabled value from true: =================================== katello> user create --username testuser1 --password redhat --email sghai --disabled=true Successfully created user [ testuser1 ] katello> user list -------------------------------------------------------------------------- User List Id Username Email Disabled -------------------------------------------------------------------------- 1 admin root@localhost False 2 testuser sghai False 3 testuser1 sghai True katello> user update --username testuser1 --password redhat --email sghai Successfully updated user [ testuser1 ] katello> user list -------------------------------------------------------------------------- User List Id Username Email Disabled -------------------------------------------------------------------------- 1 admin root@localhost False 2 testuser sghai False 3 testuser1 sghai False |