Issue Description:
validateTeamName regex on UI should be "^([a-z0-9](?:[._-][a-z0-9])*)$"
Environment:
quay-operator-bundle-container-v3.13.0-45
Steps:
1, According to PR https://github.com/quay/quay/pull/3126, regex: VALID_TEAMNAME_REGEX = r"^([a-z0-9](?:[._-][a-z0-9])*)$"
2, The New UI Validator still prompt previous regex, should be update accordingly:
and
Note:
CLI notification has been updated:
% curl -k -X PUT -H 'Content-Type: application/json' -H 'Authorization: Bearer ...' https://quayregistry-quay-quay-enterprise-14960.apps.quaytest-14960.qe.devcluster.openshift.com/api/v1/organization/quayorg/team/Team-with-dashes -d '{"name": "Team-with-dashes", "role": "member"}' {"message":"Invalid team name Team-with-dashes: Namespace must match expression ^([a-z0-9]+(?:[._-][a-z0-9]+)*)$"}
- relates to
-
PROJQUAY-7606 web-ui has stricter regex than rest-api for validating team-names
- Closed
- links to
- mentioned on
(2 mentioned on)