- Creates a new option under Who can register accounts at /admin/config/people/accounts#edit-registration-cancellation for Stanford Only
- Uses template_preprocess_search_results to prevent intranet search results from being displayed to non webauth users.
- Removes forms from /user/register and /user/password while rewriting /user to force login with webauth.
- Adds a function to check for defined sunet role :
if(!function_exists('sunet_role')):
function sunet_role() {
global $user;
return array_key_exists(variable_get('webauth_addons_role', '1'), $user->roles);
}
endif;
- Implement webauth security
- Stanford webauth drupal module (https://drupalfeatures.stanford.edu/project/webauth)
- Global Redirect (https://www.drupal.org/project/globalredirect) Webauth Addons does not directly use this, but needs it to hide /node/ urls.