1.9
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
notstaff
.
(#163) - Do not set the
staff
affiliation, onlymember
.
(#166) - Show URL (e.g. profile) for requests.
(#165)
Installation Notes
-
Add
expiration
column toidp_account_request
:psql -U accreq -h localhost accreq < /usr/share/geni-ar/db/postgresql/update-3.sql
-
Allow null
email
inidp_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