This is an automated email from the ASF dual-hosted git repository. zouxinyi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 7cecff5e71b [Enhancement] doris to support function SESSION_USER() (#1060) 7cecff5e71b is described below commit 7cecff5e71bafb505f87f16d67027289a39e30c6 Author: Vallish Pai <vallish...@gmail.com> AuthorDate: Wed Aug 28 14:02:54 2024 +0530 [Enhancement] doris to support function SESSION_USER() (#1060) doc update for[ #39575](https://github.com/apache/doris/pull/39575) --- docs/admin-manual/auth/user-privilege.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/admin-manual/auth/user-privilege.md b/docs/admin-manual/auth/user-privilege.md index 4e65b1996c6..e3fe8699d22 100644 --- a/docs/admin-manual/auth/user-privilege.md +++ b/docs/admin-manual/auth/user-privilege.md @@ -266,6 +266,8 @@ ADMIN_PRIV and GRANT_PRIV have the authority of **"grant authority"** at the sam For example, suppose the user `user1@'192.%'` is created, and then a user user1 from 192.168.10.1 is logged into the system. At this time, `current_user` is `user1@'192.%'`, and `user` is `user1@'192.168.10.1'`. All privileges are given to a `current_user`, and the real user has all the privileges of the corresponding `current_user`. + + `SELECT session_user()` is supported , which is having same behaviour as user() function. 10. Password Validation --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org