Red Hat Bugzilla – Bug 845267
RFE: As a user, I would like to be able to set my preferred locale via the CLI
Last modified: 2017-02-23 16:20:44 EST
Description of problem:
As the admin user for a Katello server, I would like to be able to create user accounts and set their preferred locale from the CLI.
As a regular user I would like to be able to modify/set my preferred locale from the CLI.
Right now this is only exposed via the web ui and I strongly feel that we should make this option available. Imagine a user who only understands (i.e. read) one particular language that does not match the default locale for the Katello interface. How one one then change his own locale so he can use the web ui?
As this preference is something we actually store in the database, we should support setting the locale from the CLI.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
There is a pull request inbound for this
Pull request was merged already: https://github.com/Katello/katello/pull/436
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
This bug was mistakenly closed during a triage process. Moving back to MODIFIED or ON_QA depending
This commit was made against the old katello cli, but the equivilant does not exist in hammer.
[bkearney@bkearney hammer-cli]$ hammer user create --help
hammer user create [OPTIONS]
--admin ADMIN Is an admin account?
-h, --help print help
Created redmine issue http://projects.theforeman.org/issues/9112 from this bug
This issue got fixed by a change in Foreman's api docs.
Commited into upstream repo:
Author: Tomas Strachota <email@example.com>
Date: Fri Jan 23 14:19:46 2015 +0000
Fixes #9113 - api docs for users miss locale and timestamp params
Locale was missing also in the server responses.
Verified by QE on version Satellite-6.1.0-RHEL-7-20150324.0
This was delivered with Satellite 6.1 on 15 August.