dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Lack of Proper Form Validation on Repositories Page

Open momesgin opened this issue 1 year ago • 0 comments

Setup

  • Rancher version: 2.9-head, but most likely in the old versions too

Describe the bug

Currently, in catalog.cattle.io.clusterrepo.vue, form validation is missing. As a result, users can submit requests with empty URL or leave username/password fields for basic auth empty. Similarly, the public key field can be left empty when selecting the SSH key option.

To Reproduce

Watch the video below.

Result Users are allowed to proceed

Expected Result Users should be prevented from performing this action

Screenshots

https://github.com/rancher/dashboard/assets/135728925/d493e917-1db0-42cd-8381-1c371eff3e20

momesgin avatar Apr 26 '24 00:04 momesgin