ubccr / coldfront

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

Adding DEFAULT_STATUS and DEFAULT_REMOVE ENV Variables to set users t… #571

Open rsandatpsu opened 9 months ago

rsandatpsu commented 9 months ago

I've added a default status for new users in order for us to use 'Pending - Add' as a default status for any added user to a project. The default if not added to the coldfront.env is to use 'Active'. Also for users removed from a project there is a default of 'Pending - Remove' instead of the default of 'Removed'. If the default is not set in the coldfront.env file it uses 'Removed'.

I had to add code to the project_detail.html file to show users that are in 'Pending - Add' and 'Pending - Remove' status.