Skip to content

1.9

Compare
Choose a tag to compare
@tcmitchell tcmitchell released this 03 Aug 11:26
· 9 commits to develop since this release

Changes

  • Add script to print/email expired accounts, for use in crontab.
    (#167)
  • Tutorial accounts no longer get an email address. Users
    will need to self-assert their address at the Portal.
    (#164)
  • Add expiration on tutorial accounts.
    (#158)
  • Tutorial accounts get the affiliation library-walk-in not staff.
    (#163)
  • Do not set the staff affiliation, only member.
    (#166)
  • Show URL (e.g. profile) for requests.
    (#165)

Installation Notes

  • Add expiration column to idp_account_request:

    psql -U accreq -h localhost accreq < /usr/share/geni-ar/db/postgresql/update-3.sql
    
  • Allow null email in idp_account_request (for tutorials):

    psql -U accreq -h localhost accreq < /usr/share/geni-ar/db/postgresql/update-4.sql
    
  • Add crontab entry to detect expired accounts.

    $ sudo crontab -u root -e
    

    Then at the bottom of the file, add these lines:

    # Email admins the usernames of any expired but active IdP accounts
    0 1 * * * /usr/local/bin/geni-ar-expired-accounts