ubccr / coldfront

HPC Resource Allocation System
https://coldfront.readthedocs.io
GNU General Public License v3.0
96 stars 76 forks source link

Config options added to make EULA process more thorough #550

Open rg663 opened 12 months ago

rg663 commented 12 months ago

Resolves issue #542 — Now, centers who want to have a more thorough process for users on allocations whose resources have a 'eula' attribute can set the config variable EULA_AGREEMENT to True. With this, when a user is added to an allocation with a EULA resource, any user that is added (who is not an admin or a PI) has a status of Pending instead of Active. When this user goes to access the resource, they must either accept or decline the EULA. If they accept, they become an Active user on the allocation. However, if they decline, their status is set to Declined.

In addition, when a user is added to an allocation with a EULA resource, they receive an email asking them to complete the EULA. When a user agrees to the EULA, an email is sent to the user and their manager to confirm this process. If the config variable EMAIL_EULA_REMINDERS is set to True, users are emailed weekly to remind them to complete their EULA process.

jrlagrone commented 4 months ago

We're looking at making similar changes. I'll try to add fixes / updates as we get to them (no eta at this point.)

Right now, this PR is not completely functional (at least for us):