Closed greyspectrum closed 6 years ago
This issue is now fixed. The problem was that the permissions on the access requests spreadsheet were changed, so that the Google service account (which exposes the API) only had read access. After changing this back, check-approved-requests.py and addusers.py ran successfully from cron. This also fixes issue #88. I am closing this issue.
The check approved requests script is failing to write to the "Helpdesk Notified" column in the requests Google Sheet. Since addusers.py will only create approved accounts when the "Helpdesk Notified" column has been filled, this would explain why addusers.py recently failed to run from the crontab.
Update: the same thing happens with addusers.py. So, it creates the user account and the project, but fails to move the spreadsheet entry to the "current users" spreadsheet. So, it appears to be the same write access failure problem.