Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • To request access a user visits: https://eventr.geant.org/request_access
  • This redirects them to our SPP page where they sign in using one of the federated options.
  • After successful sign in, the user has to select which organisation they represent. This list is populated from the nrens table (see db/schema.rb). For an example of how to populate this data from a csv file see the rake job: lib/tasks/import_nrens.rake. If a user can't find their organsation in the list, simply add it to the nrens table.
  • Hitting submit will send an email to sysadmin@terena.org with the subject "New user request for EventR"
  • This email contains all the details to add the user to the production database, eg:
    • User: someone.other@renater.fr (tal_id: xxx)

      User.find(xxx).update(roles: ["member"])
  • Double check the tal_id with the details of the users email address to make sure that person actually is who they claim to be. You can do this by signing in to the SPP backend and doing a simply db lookup on tal_id. To do so:
        1. SSH to login-prodto login.terena.org
        2. Connect to db:  sudo -u postgres psql
        3. (Optional): "\l" lists all databases
        4. Connect to account_linker_dev1: "\connect account_linker_dev1"
        5. (Optional): "\d" describes the database (account_linker_dev1)
        6. run this query: select * from vw_attributes_new where user_id=1398; ### this is the user_id we receive by email when a user requests access

...