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

Fixed a bug that prevented allocations from being disabled even after it has been denied or revoked #596

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

QuanMPhm
Copy link

@QuanMPhm QuanMPhm commented Jan 16, 2024

The if statement used the wrong operator to determine if the allocation status was changed to "Denied" or "Revoked". This prevented a signal from being sent that would indicated that the allocation should be disabled.

@QuanMPhm QuanMPhm changed the title Fixed allocation bug in views.py Fixed a bug that prevented allocations from being disabled even after it has been denied or revoked Jan 24, 2024
jtriley added a commit to nerc-project/coldfront-nerc that referenced this pull request Feb 17, 2024
Include latest versions of api, keycloaak, and cloud plugins. Includes a
coldfront patch that has yet to be merged upstream to fix a bug that
prevented allocations from being disabled even after it has been denied
or revoked:

ubccr/coldfront#596
jtriley added a commit to nerc-project/coldfront-nerc that referenced this pull request Feb 20, 2024
Include latest versions of api, keycloak, and cloud plugins. Includes a
coldfront patch that has yet to be merged upstream to fix a bug that
prevented allocations from being disabled even after it has been denied
or revoked:

ubccr/coldfront#596
@QuanMPhm QuanMPhm closed this Feb 22, 2024
@QuanMPhm QuanMPhm reopened this Apr 12, 2024
@aebruno
Copy link
Member

aebruno commented Dec 10, 2024

@QuanMPhm Apologies for the delay on this. Thanks so much for the bug fix. We now require all commits to be "Signed-off" by using git commit --signoff which will acknowledge that you agree to the DCO. Can you rebase this commit with --signoff and we'll get this merged. Thanks!

@aebruno aebruno added the bug Something isn't working label Dec 10, 2024
The if statement used the wrong operator to determine if the allocation status was changed to "Denied" or "Revoked"

Signed-off-by: Quan Pham <[email protected]>
@QuanMPhm
Copy link
Author

I've added the signoff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants