I'm looking to alter user_registration behavior to allow certain users to reopen their closed or blocked accounts but not users who have been explicitly banned. As such, I'm looking to modify the current form element for ['account']['status'] from just allowing 'Blocked' and 'Active' to something like this
$form['account']['status']['#options'] = array(t('Blocked'), t('Active'), t('Banned/Dead to Me'));
This is an easy form_alter hook to execute and Drupal will add the new value ('2') in the users table but it doesn't know what to do with it in other functions, ex. on the admin/people page, it doesn't recognize the new value:
Notice: Undefined index: 2 in user_admin_account() (line 226 of /public/modules/user/user.admin.inc).
Is there another way to customize the user status options or is this a protected core value? Are there already modules that add new user status options that I could look at as a model?