coldfront
coldfront copied to clipboard
Profile: PI upgrade enhancements
Currently a user can request an 'upgrade' to PI status under the User Profile menu. Clicking the 'Upgrade Status' button sends an email to whatever is configured as 'EMAIL_TICKET_SYSTEM_ADDRESS' in the ColdFront environment setup. The email contents are set here: https://github.com/ubccr/coldfront/blob/master/coldfront/templates/email/upgrade_account_request.txt
Centers that use ColdFront have their own process for verifying the user's request and then use either a unix group to set PI status or go into the Django admin and check the 'PI' button in the User Profile for that account.
Many have expressed the desire to request additional information from the user before submitting this upgrade request. It would be best if this were configurable. The default would be left as is - click the button/send an email. The option would be to turn on an advanced upgrade request process. Rather than sending the email, a click on the 'Upgrade Status' button would redirect to a form and the center could configure what information they want to request. This might include organization/department, research information, references, and the ability to include documents. We probably don't want to upload docs and store in the database but perhaps a way to include as an attachment to the email that the form creates.
We extended user profile just for that: we require users to fill additional data before being able to 'click'. But this would be useful as often those data are insufficient. We continue conversation by e-mail, but CF would be better option, for archive purposes. I've researched google-forms-alike options for django and there doesn't seem to be one.
We could also use to 'pending PI upgrades' page, and 'PI request status' for users.
Might be good idea to enable 'piVerificationModule' to be specified, as different centers probably have vastly different logic, and this could be locally developed coldfront plugin, with some example/skeleton/default provided