-
Notifications
You must be signed in to change notification settings - Fork 478
feat: add authorize to UserProvider trait
#879
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
Merged
sunng87
merged 17 commits into
GreptimeTeam:develop
from
shuiyisong:feat/schema_validator
Jan 18, 2023
Merged
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4b86ba0
feat: add SchemaValidator
shuiyisong 13ce27a
feat: add schema validator to mysql shim
shuiyisong 6d881fd
chore: pass schema validator to http auth layer
shuiyisong 08c31bb
feat: add schema validator to http
shuiyisong 7d5247c
feat: add schema validator to pg
shuiyisong 3be0384
feat: add schema validator to pg
shuiyisong 3df7291
feat: add schema validator test
shuiyisong 3242a25
chore: remove println in test
shuiyisong 5d8da90
chore: use !matches
shuiyisong e21445e
refactor: refac authenticate and authorize in http auth
shuiyisong a3bd5b6
refactor: refac authenticate and authorize in http auth
shuiyisong 4e8e12a
chore: typo
shuiyisong c60d49a
chore: minor change
shuiyisong dd231cf
refactor: merge schema_validator into user_providier
shuiyisong c9edfc4
chore: fix license issue
shuiyisong 8fcc133
refactor: change http query param from database to db
shuiyisong 313b8a6
chore: fix cr issue
shuiyisong 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,6 +66,7 @@ impl Services { | |
| mysql_io_runtime, | ||
| Default::default(), | ||
| None, | ||
| None, | ||
| )) | ||
| } | ||
| }; | ||
|
|
||
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.