This MR builds out the index page of the secrets manager frontend, it:
name
, labels
, lastAccessed
, and createdOn
properties to each secret in the mock data that we're working with for nowsecret_actions_cell.vue
component)
Edit secret
action links to the edit page for the secretRevoke
and Delete
actions will be implemented laterIn order to keep the scope reasonable, this MR does not handle the following:
Edit secret
in the dropdown if the user has permission to edit that secret)Revoke
or Delete
actionsPlease evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Before | After |
---|---|
![]() |
![]() |
Check out the branch and enable the feature flag for a root group:
git checkout 424457-secrets-index-page
echo "Feature.enable(:ci_tanukey_ui, Group.find_by_full_path(\"gitlab-org\"))" | gdk rails c
project.group.root_ancestor
/project.root_ancestor
Edit secret
action that takes you to /secrets/secret_key/edit)optional: test this for a project in the group:
3.
aboveyarn install
yarn jest ci/secrets