ucb-rit / coldfront

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

Allow the "final name" of a pooled project request to exceed (fall short of) the maximum (minimum) length #586

Open matthew-li opened 6 months ago

matthew-li commented 6 months ago

The form for performing cluster setup for new project requests truncates names that exceed the maximum length (currently 15).

This is fine for new projects, where we stipulate that the name (excluding the allowance prefix) be between 4 and 12 characters. However, as observed by @elam3, it is an issue for pooling requests to pre-portal projects with overlong names.

It is also assumed that, if pooling with an existing project whose name is too short (unclear if any exist), the form will raise an error.

Find a way to ignore the min/max length constraints when the request is a pooling request.