Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: allow navigation to subdirectory #22455

Conversation

hellobontempo
Copy link
Contributor

This partially fixes the request here #5362 so users can LIST at the secret level in the UI.

Fixes #20563 and #13188 and #20563

The user in the gif has the following policy where they can only LIST at the my-secret/ level. Previously a user had to know the full secret path to view this list of secrets, now they just need the top-level secret path:

path "my-kv/metadata/my-secret/*" { capabilities = ["list", "read"] }
path "my-kv/data/my-secret/*" { capabilities = ["list", "read"] }

list-withinsecret


If a user can only list metadata at the top level, so with a policy that looks something like:

path "my-kv/data/*" {
  capabilities = ["read", "list", "delete"]
}
path "my-kv/metadata" {
  capabilities = ["list"]
}

The input in the card pre-fills with the path selected from the list view
fill-path

@hellobontempo hellobontempo added this to the 1.15 milestone Aug 18, 2023
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Aug 18, 2023
@github-actions
Copy link

github-actions bot commented Aug 18, 2023

Build Results:
All builds succeeded! ✅

@hellobontempo hellobontempo merged commit 67dfa0a into ui/VAULT-16258/kv-ember-engine Aug 21, 2023
51 checks passed
@hellobontempo hellobontempo deleted the ui/VAULT-19168/allow-navigation-to-subdirectory-2 branch August 21, 2023 17:56
@hellobontempo
Copy link
Contributor Author

Approvals were on different branch/PR #22436

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed pr/no-changelog ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant