hackclub / hackclub/hcb

[Security] Org-wide 2FA requirement; Allow managers to enforce 2FA for all team members

Open
#11,765 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
870
Forks
138
Avg merge
1d 14h
Merged PRs (30d)
208

Description

For example, on GitHub, you can have an organization enforce that all its members have 2FA enabled. We want the same for HCB organizations.

This would be in the org's settings and configurable by managers. To disable org-wide 2FA, you must be in Sudo mode.

We will also need to build a grace period for when 2FA is required, but users haven't configured it yet. After the grace period, the next time you sign in (and don't have 2FA configured), you'll be forced to configure it then and there.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the organization settings, manager permissions, Sudo mode, and sign-in flows involved in 2FA. Define how the organization-wide requirement and grace period should interact with users who lack 2FA, including when setup becomes mandatory. Done means managers can configure the requirement, disabling it is restricted appropriately, and affected users are prompted after the grace period.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
authentication, authorization, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.