Project

General

Profile

Bug #34123

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

Added by Oleh Fedorenko 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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

Blocks Hammer CLI - Feature #34180: Add mail_enabled option to list and info command Closed

Associated revisions

Revision 8d2f4a0c (diff)
Added by Adi Abramovitch 5 months ago

Fixes #34123 - Add mail_enabled to user

History

#1 Updated by Adi Abramovitch 5 months ago

  • Assignee set to Adi Abramovitch
  • 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."

#2 Updated by Adi Abramovitch 5 months ago

  • Project changed from Foreman to Hammer CLI

#3 Updated by The Foreman Bot 5 months ago

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

#4 Updated by Adi Abramovitch 5 months ago

  • Project changed from Hammer CLI to Foreman

#5 Updated by Adi Abramovitch 5 months ago

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

#6 Updated by The Foreman Bot 5 months ago

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

#7 Updated by Oleh Fedorenko 5 months ago

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

#8 Updated by Oleh Fedorenko 5 months ago

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

#9 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 3.2.0 added

#10 Updated by Adi Abramovitch 5 months ago

  • Status changed from Ready For Testing to Closed

#11 Updated by Amit Upadhye 3 months ago

  • Category set to Users, Roles and Permissions

Also available in: Atom PDF