Feature #34241

Include twofa_scheme (two-factor scheme) column when exporting users to CSV

Added by Go MAEDA 19 days ago. Updated 16 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Accounts / authentication
Target version:4.2.0
Resolution:Fixed

Description

The upcoming Redmine 4.2 has a two-factor authentication feature (#1237). I suggest adding twofa_scheme column to users CSV. From the perspective of information security management of an organization, the feature to obtain two-factor authentication status for all users is useful.

Possible values:
  • "Disabled"
  • l("twofa__#{s}__label_activate") (currently, "Authenticator app" (twofa__totp__name) is the only supported scheme)

feature-34241.patch Magnifier (3.95 KB) Mizuki ISHIKAWA, 2020-11-11 07:01

feature-34241-v2.patch Magnifier (3.66 KB) Go MAEDA, 2020-11-11 15:35


Related issues

Related to Redmine - Feature #1237: Add support for two-factor authentication Closed 2008-05-14

Associated revisions

Revision 20350
Added by Go MAEDA 16 days ago

Include twofa_scheme (two-factor scheme) column when exporting users to CSV (#34241).

Patch by Mizuki ISHIKAWA.

Revision 20351
Added by Go MAEDA 16 days ago

Update locales (#34241).

History

#1 Updated by Go MAEDA 19 days ago

  • Related to Feature #1237: Add support for two-factor authentication added

#2 Updated by Mizuki ISHIKAWA 18 days ago

I attach the patch.

#3 Updated by Go MAEDA 18 days ago

  • Target version set to Candidate for next major release

#4 Updated by Go MAEDA 17 days ago

Thank you for posting the patch. I slightly updated the patch.

  • Redmine might support two-factor schemes other than TOTP in the feature, so I have changed UsersHelper#csv_content to allow other schemes
  • Moved "Two-factor authentication scheme" column before timestamp columns

#5 Updated by Go MAEDA 17 days ago

  • Target version changed from Candidate for next major release to 4.2.0

Setting the target version to 4.2.0.

#6 Updated by Go MAEDA 16 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you for your contribution.

Also available in: Atom PDF