Project

General

Profile

Actions

Feature #34241

closed

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

Added by Go MAEDA about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Accounts / authentication
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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)

Files

feature-34241.patch (3.95 KB) feature-34241.patch Mizuki ISHIKAWA, 2020-11-11 07:01
feature-34241-v2.patch (3.66 KB) feature-34241-v2.patch Go MAEDA, 2020-11-11 15:35

Related issues

Related to Redmine - Feature #1237: Add support for two-factor authenticationClosedGo MAEDA2008-05-14

Actions
Actions #1

Updated by Go MAEDA about 4 years ago

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

Updated by Mizuki ISHIKAWA about 4 years ago

I attach the patch.

Actions #3

Updated by Go MAEDA about 4 years ago

  • Target version set to Candidate for next major release
Actions #4

Updated by Go MAEDA about 4 years 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
Actions #5

Updated by Go MAEDA about 4 years ago

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

Setting the target version to 4.2.0.

Actions #6

Updated by Go MAEDA about 4 years ago

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

Committed the patch. Thank you for your contribution.

Actions

Also available in: Atom PDF