-
Notifications
You must be signed in to change notification settings - Fork 778
refactor: refine system history tables and add login table #17937
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
Conversation
@@ -341,9 +344,19 @@ fn make_cookie(name: impl Into<String>, value: impl Into<String>) -> Cookie { | |||
|
|||
impl<E> HTTPSessionEndpoint<E> { | |||
#[async_backtrace::framed] | |||
async fn auth(&self, req: &Request, query_id: String) -> Result<HttpQueryContext> { | |||
let credential = get_credential(req, self.kind, self.endpoint_kind)?; | |||
async fn auth( |
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.
Please help review. @TCeason @youngsofun
what is the purpose of adding login table? |
I think may be used for auditing or compliance? I only know a user need it. It is not enabled in default. |
Docker Image for PR
|
This reverts commit 0134b36.
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. Please provide the relevant documentation and examples.
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
Tests
Type of change
This change is