-
Notifications
You must be signed in to change notification settings - Fork 974
Closed
Labels
apiArea: HTTP APIArea: HTTP API
Description
Problem statement
I'd love to be able to create templates with the following names:
- Proxmox VM
- Proxmox Container
- Standard Dev Bundle
- Bare Dev Bundle
- Ubuntu Slim
- Docker with nixOS
However, template names are currently being validated as usernames so this is not possible.
coder/codersdk/organizations.go
Line 51 in 3e419dd
Name string `json:"name" validate:"username,required"` |
coder/coderd/httpapi/httpapi.go
Line 20 in c8d04af
usernameRegex = regexp.MustCompile("^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$") |
Definition of done
Users can create templates with names that contain spaces.
Metadata
Metadata
Assignees
Labels
apiArea: HTTP APIArea: HTTP API