-
Notifications
You must be signed in to change notification settings - Fork 46
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
Blue account #1033
Merged
Merged
Blue account #1033
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0850ba0
blue account
husio 63da136
blue account bnscli
husio be3baa2
rename till -> untill
husio ca9d1ac
typo
husio 430d6d8
fix message paths
husio e4b813b
improve protobuf comments
husio 8751eab
fix race condition
husio 16d40f7
lol typo
husio 3095415
return configuration from the validate method
husio 13fba2e
rename client token to third party token
husio 12c493e
update changelog
husio 3a1c98a
bnsd/x/blueacc: fix typos in handlers
orkunkl c723a29
update migration package
husio 1d8ee29
register missing schema migation for UpgradeSchemaMsg
husio 8ae200f
gconf: allow to provide additional authentication address
husio fb57ca1
gconf: fix tests
husio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ethanfrey @alpe Please have a look if you have a moment. I think this is a rather big change to
weave
configuration patterns.This is solving the problem I have described in the comment above - I want to create a configuration and cannot authenticate, because configuration entity defines who can authenticate 🐣
Usually configuration is created via genesis. This is not possible if you add an extension to an existing state.
It is not possible to do this via migrations as Ethan suggested for two reasons:
weave.ReadOnlyKVStore
. This is also on purpose, so that they are not able to modify the database state (!). They are supposed to migrate the in memory entity representation.I require explicit passing of an admin address function instead of directly importing
migration.loadConf
ingconf
because of import cycle. I think it is also nice thatinitConfAdmin
is optional.What do you guys think?