Versions Compared

Key

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

...

if this fails, you should run them as separate rake tasks: rake db:migrate:reset && rake db:seed


Add a new user

The process is very similar to EventR.

  • Send user to the url: https://compendiumdatabase.geant.org/request_access
  • User has to sign in using federated authentication
  • After sign in, user gets redirected back to the page where they have to select their NREN and enter their email address
  • After successful completion of the form, an email gets sent to: compendium-admin@lists.geant.org
  • Please follow instructions in said email to approve account (You have to a Compendium admin in order to approve other users)
  • On the 'NREN users' page, next to the respective user tick the approve checkbox and hit 'update NREN'

    To make the user Admin, please follow these instructions:
  • ssh rykov.terena.org (not yet migrated)

sudo su - compendium

cd /pub/www/compendium/

RAILS_ENV=production rails console

User.find_by(tal_id: xxx).update(roles: ["ADMIN", "PANEL"])

  • Inform user that they now have super powers!