Project

General

Profile

Actions

Bug #34123

closed

The 'Mail enabled' setting cannot be switched with the hammer user command.

Added by Oleh Fedorenko almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

b'Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2015757 \n\n*Description of problem:*\n\n\'Mail enabled\' setting cannot be switched with the hammer user command.\n\'hammer user create\'/\'hammer user update\' command allows you to configure email settings. \nHowever, it seems that it cannot be disabled(Uncheck "Mail Enabled" in Satellite WEB UI). \n\nAdminister >> Users >> select and edit the Username >> Email Preferences >> Mail enabled.\n\n\nhammer user create\n------------------------------------\nUsage:\n hammer user create [OPTIONS]\n\nOptions:\n --admin ADMIN Is an admin account\n One of true/false, yes/no, 1/0.\n --ask-password ASK_PW One of true/false, yes/no, 1/0.\n --auth-source AUTH_SOURCE_NAME Name to search by\n --auth-source-id AUTH_SOURCE_ID\n --default-location DEFAULT_LOCATION_NAME Default location name\n --default-location-id DEFAULT_LOCATION_ID\n --default-organization DEFAULT_ORGANIZATION_NAME Default organization name\n --default-organization-id DEFAULT_ORGANIZATION_ID\n --description DESCRIPTION\n --firstname FIRSTNAME\n --lastname LASTNAME\n --locale LOCALE User\'s preferred locale\n Possible value(s): \'ca\', \'de\', \'en\', \'en_GB\', \'es\', \'fr\', \'gl\', \'it\', \'ja\', \'ko\', \'nl_NL\', \'pl\', \'pt_BR\', \'ru\', \'sv_SE\', \'zh_CN\', \'zh_TW\'\n --location LOCATION_NAME Location name\n --location-id LOCATION_ID\n --location-ids LOCATION_IDS REPLACE locations with given ids\n Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --location-title LOCATION_TITLE Location title\n --location-titles LOCATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --locations LOCATION_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --login LOGIN\n --mail MAIL\n --organization ORGANIZATION_NAME Organization name\n --organization-id ORGANIZATION_ID Organization ID\n --organization-ids ORGANIZATION_IDS REPLACE organizations with given ids.\n Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --organization-title ORGANIZATION_TITLE Organization title\n --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --organizations ORGANIZATION_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --password PASSWORD Required unless user is in an external authentication source\n --role-ids ROLE_IDS Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --roles ROLE_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --timezone TIMEZONE User\'s timezone\n--------------------------------\n\nhammer user update\n-------------------------------\nUpdate a user\n\nUsage:\n hammer user update [OPTIONS]\n\nOptions:\n --admin ADMIN Is an admin account\n One of true/false, yes/no, 1/0.\n --ask-password ASK_PW One of true/false, yes/no, 1/0.\n --auth-source AUTH_SOURCE_NAME Name to search by\n --auth-source-id AUTH_SOURCE_ID\n --current-password CURRENT_PASSWORD Required when user want to change own password\n --default-location DEFAULT_LOCATION_NAME Default location name\n --default-location-id DEFAULT_LOCATION_ID\n --default-organization DEFAULT_ORGANIZATION_NAME Default organization name\n --default-organization-id DEFAULT_ORGANIZATION_ID\n --description DESCRIPTION\n --firstname FIRSTNAME\n --id ID\n --lastname LASTNAME\n --locale LOCALE User\'s preferred locale\n Possible value(s): \'ca\', \'de\', \'en\', \'en_GB\', \'es\', \'fr\', \'gl\', \'it\', \'ja\', \'ko\', \'nl_NL\', \'pl\', \'pt_BR\', \'ru\', \'sv_SE\', \'zh_CN\', \'zh_TW\'\n --location LOCATION_NAME Location name\n --location-id LOCATION_ID\n --location-ids LOCATION_IDS REPLACE locations with given ids\n Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --location-title LOCATION_TITLE Location title\n --location-titles LOCATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --locations LOCATION_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --login LOGIN User\'s login to search by\n --mail MAIL\n --new-login NEW_LOGIN\n --organization ORGANIZATION_NAME Organization name\n --organization-id ORGANIZATION_ID Organization ID\n --organization-ids ORGANIZATION_IDS REPLACE organizations with given ids.\n Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --organization-title ORGANIZATION_TITLE Organization title\n --organization-titles ORGANIZATION_TITLES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --organizations ORGANIZATION_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --password PASSWORD Required unless user is in an external authentication source\n --role-ids ROLE_IDS Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --roles ROLE_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash\n --timezone TIMEZONE User\'s timezone\n------------------------------------\n\n*Version-Release number of selected component (if applicable):*\nSatellite6.9\n\n*How reproducible:*\n100%\n\n*Steps to Reproduce:*\n1.\n2.\n3.\n\n*Actual results:*\n\'Mail enabled\' setting cannot be switched with the hammer user command.\n\n*Expected results:*\n\'Mail enabled\' setting can be switched with the hammer user command.\n\n*Additional info:*'


Related issues 1 (0 open1 closed)

Blocks Hammer CLI - Feature #34180: Add mail_enabled option to list and info command ClosedAdi AbramovitchActions
Actions #1

Updated by Adi Abramovitch almost 3 years ago

  • Subject changed from b"'Mail enabled' setting cannot be switched with the hammer user command." to b"'Mail enabled' setting cannot be switched with the hammer user command."
  • Assignee set to Adi Abramovitch
Actions #2

Updated by Adi Abramovitch almost 3 years ago

  • Project changed from Foreman to Hammer CLI
Actions #3

Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/587 added
Actions #4

Updated by Adi Abramovitch almost 3 years ago

  • Project changed from Hammer CLI to Foreman
Actions #5

Updated by Adi Abramovitch almost 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/9004 added
  • Pull request deleted (https://github.com/theforeman/hammer-cli-foreman/pull/587)
Actions #6

Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/9005 added
Actions #7

Updated by Oleh Fedorenko almost 3 years ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/9004)
Actions #8

Updated by Oleh Fedorenko almost 3 years ago

  • Blocks Feature #34180: Add mail_enabled option to list and info command added
Actions #9

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases 3.2.0 added
Actions #10

Updated by Adi Abramovitch almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #11

Updated by Amit Upadhye almost 3 years ago

  • Category set to Users, Roles and Permissions
Actions #12

Updated by Amit Upadhye over 2 years ago

  • Subject changed from b"'Mail enabled' setting cannot be switched with the hammer user command." to The 'Mail enabled' setting cannot be switched with the hammer user command.
Actions

Also available in: Atom PDF