Skip to content

ElectricalEngineering/webauth_addons

Repository files navigation

Webauth Add-Ons

What this module does:

  • 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;

What this module does not do:

  • Implement webauth security

Requirments

About

Addons for the drupal webauth module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages