ui: Support for Node Identities#8137
Merged
Merged
Conversation
6e0ffe3 to
1b94dad
Compare
added 9 commits
June 18, 2020 13:57
7d4fb05 to
215ef0f
Compare
Contributor
|
🍒✅ Cherry pick of commit 4c58f94 onto |
hashicorp-ci
pushed a commit
that referenced
this pull request
Jun 23, 2020
* Add all the new data required for NodeIdentities * Add potential NodeIdentity to the token list component * Amend the policy-form/selector to allow node identity creation * Fix up CSS for radio buttons and select label * Add node-identity policy template component * Fix up and add acceptance tests for NodeIndentities * Make sure policy previews take node identities into account * Only show certain policy markup if those we have those policies * Potentially temporarily hide dt's that don't have icons yet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#7970 adds backend support for Node Identities, which are a templated policy similar to Service Identities.
This PR adds Phase 1 frontend UI support for Node Identities:
Amend ember-data layer for policies to deal with NodeIdentities. This uses the same approach as with ServiceIdentities i.e. we merge and unmerge all identities with policies. All of these policies are actually 'Templated Policies', normal policies having an empty template, in other words the rules for the normal policy are 100% user defined, all other policies use a template.
Specifically highlight Node Identities and Service Identities in the ConsulTokenList component.
This will be replicated in the role listing via a new ConsulRoleList component in a later PR ontop of this branch.