Tracker #9112
closedAs a user, I would like to be able to set my preferred locale via the CLI
0%
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=845267
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):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Updated by Tomáš Strachota almost 10 years ago
- Project changed from Foreman to Hammer CLI
- Category set to Foreman commands (obsolete)
Updated by Tomáš Strachota almost 10 years ago
- Tracker changed from Feature to Tracker
Updated by Tomáš Strachota almost 10 years ago
- Related to Bug #9113: API docs for creating/updating users miss locale and timestamp parameters added
Updated by Tomáš Strachota almost 10 years ago
- Related to Bug #9114: User info doesn't display timezone and locale added
Updated by Tomáš Strachota almost 10 years ago
- Status changed from New to Closed
This issue got fixed by the change in api docs (#9113). hammer user create/update
has option --locale
now.
hammer user update -h Usage: hammer user update [OPTIONS] Options: --admin ADMIN is an admin account --auth-source-id AUTH_SOURCE_ID --default-location-id DEFAULT_LOCATION_ID --default-organization-id DEFAULT_ORGANIZATION_ID --firstname FIRSTNAME --id ID --lastname LASTNAME --locale LOCALE User’s preferred locale --location-ids LOCATION_IDS REPLACE locations with given ids Comma separated list of values. --locations LOCATION_NAMES Comma separated list of values. --login LOGIN User's login to search by --mail MAIL --new-login NEW_LOGIN --organization-ids ORGANIZATION_IDS REPLACE organizations with given ids. Comma separated list of values. --organizations ORGANIZATION_NAMES Comma separated list of values. --password PASSWORD --timezone TIMEZONE User’s timezone -h, --help print help