Update the UI to not expose the Github PAT in the Namespace Admin page

Description

Currently, in the UI, we fetch and display the Github PAT in the namespace admin page. This is not required, as the PAT is not used in the UI for any operations. Also, this is not a secure practice. The following steps are needed to fix this:

 

  1. Do not fetch the Github PAT and do not display it in the UI.

  2. Also, do not autofill the Github PAT in the form to edit the repository config. If no PAT is provided in the edit form, then the PAT should not be updated in the secure store.

  3. During creation of the repository config, the PAT must be mandatory (as it is currently), however during edits to the repository config the PAT must be optional.

Release Notes

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Docs Impact

No

UX Impact

No

Affects versions

Triaged

Yes

Size

M

Components

Fix versions

Priority

Created November 22, 2023 at 7:27 AM
Updated January 11, 2024 at 12:56 AM
Resolved November 24, 2023 at 8:11 AM