Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rsandatpsu
Copy link

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.

…o Pending - Add when new and Pending - Remove when needing removal
@aebruno aebruno requested a review from dsajdak October 16, 2023 15:42
I found an instance of DEFAULT_STATUS that was missing
Copy link
Contributor

@dsajdak dsajdak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Thanks @rsandatpsu for your contribution.

To do for @dsajdak - add this to the configuration docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants