-
Notifications
You must be signed in to change notification settings - Fork 925
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
feat(nodebuilder/node): Implement Module
#1313
Conversation
417af82
to
6e71792
Compare
6e71792
to
07fcb16
Compare
f8ee7b1
to
da27316
Compare
Codecov Report
@@ Coverage Diff @@
## main #1313 +/- ##
==========================================
- Coverage 55.37% 55.17% -0.21%
==========================================
Files 199 203 +4
Lines 12053 12124 +71
==========================================
+ Hits 6674 6689 +15
- Misses 4714 4770 +56
Partials 665 665
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
82e27c9
to
8b1f05d
Compare
2279421
to
ddda3a7
Compare
6b0b9df
to
195a636
Compare
refactor(nodebuilder/node): add authverify and authnew methods feat(nodebuilder/node): Add mocks and integrate node module
… module for auth purposes
…dress ryans comments
…favour of AdminInfo method that returns node type and api version, do not return build info
6d4f232
to
f4ae5a0
Compare
… permissions methods must return err
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.
LGTM modulo two comments
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.
🚢
Related to #1187 **This PR is based on #1313** **It implements:** * providing a new JWT secret from the `nodebuilder/node` module to both the node module and the rpc server. * auth middleware for the `rpc.Server` that verifies the given token with the server's secret In a follow-up PR will come the ability to create an rpc client with elevated permissions (this branch restricts client access to read-only API methods).
Resolves #977