-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #363 from creative-commoners/mfa-is-for-cms
DOCS which members get the MFA flow
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Broadening the scope of the MFA flow | ||
|
||
## Default behaviour | ||
|
||
The EnforcementManager class is responsible for making decisions regarding the multi factor authentication app flow, e.g. "should we redirect to the MFA section", "can the user skip MFA registration" etc. | ||
|
||
By default, the MFA flow will only be presented during the login process to members who have access to some part of the CMS or administration area. | ||
|
||
## Applying MFA more widely | ||
|
||
You can broaden the scope of the MFA flow so it applies to all members, regardless of whether they have CMS or administration privileges or not by setting the following configuration: | ||
|
||
```yaml | ||
SilverStripe\MFA\Service\EnforcementManager: | ||
requires_admin_access: false | ||
``` | ||
However, note that users without access to the CMS will be unable to access their personal MFA settings and perform actions such as: | ||
* adding additional MFA methods; | ||
* removing, resetting, and changing default MFA methods; and | ||
* resetting recovery codes. | ||
A custom implementation would be required to provide this functionality. Otherwise it would be limited to CMS Administrators to [reset MFA settings](https://userhelp.silverstripe.org/en/4/optional_features/multi-factor_authentication/administrator_manual/resetting_accounts/) for a member on their behalf. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters