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

KMSE Capabilities & Phase 1 Cleanup #15143

Merged
merged 3 commits into from
Apr 26, 2022
Merged

KMSE Capabilities & Phase 1 Cleanup #15143

merged 3 commits into from
Apr 26, 2022

Conversation

zofskeez
Copy link
Contributor

  • Added capabilities to key and provider models
  • Hid toolbar actions when user does not have capability
  • Fixed some issues with key-edit component and updated some parts to match designs
  • Wired up distribute actions in key and provider views

Copy link
Collaborator

@hashishaw hashishaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful ✨

});
} catch (error) {
this.keys = [];
if (error.httpStatus !== 404) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gut check: This is because the response is a 404 if the provider has no distributed keys, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can remember yes 🙂. That was added in phase 1 but from what I recall if the provider doesn't have any associated keys then we just want to update this.keys rather than surfacing an error.

@zofskeez zofskeez merged commit cb14e18 into main Apr 26, 2022
@zofskeez zofskeez deleted the ui/kmse-capabilities branch April 26, 2022 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants