Warning: Altis v13 is no longer supported.

Disable Accounts

Altis provides the ability to disable accounts without having to actually delete user accounts. This allows for disabling accounts without reassigning content or changing any other user details, preserving any content created by the users.

Usage

Access the Users screen in the Network Admin, from there you can disable or re-enable individual accounts, or use the bulk actions to make the changes.

Disabled accounts have the following effects applied:

  • Their password will be reset to a random, unguessable 40 character password.
  • Their existing login sessions will be reset, logging them out from all sites.
  • They will be blocked from logging in with a message that their account is disabled.
  • The account cannot perform any actions even if they do regain access (i.e. using third-party authentication plugins for access keys)

All other details of the accounts are preserved, and accounts can be reactivated. This includes per-site roles, so their access can easily be restored if desired. It also includes email addresses (preserving Gravatars), and in some cases, email messages will continue to be sent to their accounts.

Note: Custom email code should check user capabilities before sending any potentially sensitive email.

Overrides

You can also set the security.disable-accounts setting to false in composer.json to disable this feature:

{
	"extra": {
		"altis": {
			"modules": {
				"security": {
					"disable-accounts": false
				}
			}
		}
	}
}