We want to expand the amount of users who have 2FA access. We can do this by creating a hook that will look at user IDs and if that user ID ends in 0, they are added to the oathauth-tester group which only grants the privilege to access 2FA (oathauth-enable). Users will only be added to the oathauth-tester group if they are not already members of another group that grants the oathauth-enable right.
Currently users without email addresses and temporary accounts are not included in this rollout.
Once we have settled at 100% of users have 2FA access we need to remove all of the configuration that made this possible:
- The percentage setting
- The code/hook that powers the percentage setting
- The oathauth-twofactorauth group