Skip to content

Conversation

QuanMPhm
Copy link
Contributor

Closes #138 when nerc-project/coldfront-plugin-cloud#208 is also merged. More info in the commit message.

In combination with changes to `coldfront-plugin-cloud` [1],
a Coldfront patch is added to allow validation of
Openshift allocation change requests (arc).

Currently only one scenario is tested:
If the acr requests for quotas below the current usage of
the project, the user will be sent back to the change
request form with an informative error message.

This feature is possible by leveraging Django formsets
and their built-in custom validation feature [2]

[1] nerc-project/coldfront-plugin-cloud#208
[2] https://docs.djangoproject.com/en/5.1/topics/forms/formsets/#custom-formset-validation
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.

Implement the possibility of introducing validation to new allocation requests and new change requests
1 participant