users

Module to deal with authenticating users and verifying access

users.views.perform_login(request)

Perform user authentication

users.views.perform_logout(request)

Logout user, deleting temporary agent SSH keys and entry from worker’s authorized_keys

users.view_util.fill_template_values(request, **template_args)

Fill the template argument items needed to populate side bars and other satellite items on the pages.

Only the arguments common to all pages will be filled.

users.view_util.is_experiment_member(request, instrument, experiment)

Determine whether a user is part of the given experiment.

Parameters
  • Requestrequest – request object

  • instrument (str) – Instrument name

  • experiment (str) – IPTS name