This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new f525876fc [#4175] fix(doc): Add more documents to avoid users'
misunderstanding (#4336)
f525876fc is described below
commit f525876fc77e426bd02b060fe66ea34bd83a272c
Author: roryqi <[email protected]>
AuthorDate: Fri Aug 2 10:04:23 2024 +0800
[#4175] fix(doc): Add more documents to avoid users' misunderstanding
(#4336)
### What changes were proposed in this pull request?
Add more documents to avoid users' misunderstanding
### Why are the changes needed?
Fix: #4175
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Just document.
---
docs/security.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/security.md b/docs/security.md
index bf12a62d0..ddc680e97 100644
--- a/docs/security.md
+++ b/docs/security.md
@@ -11,9 +11,11 @@ Apache Gravitino supports two kinds of authentication
mechanisms: simple and OAu
### Simple mode
-Simple mode is the default authentication option.
+Simple mode is the default authentication option of the server.
-Simple mode allows the client to use the environment variable `GRAVITINO_USER`
as the user.
+For the client side, if it doesn't set the authentication explicitly, it will
use anonymous to access the server.
+
+If the client sets the simple mode, it will use the environment variable
`GRAVITINO_USER` as the user.
If the environment variable `GRAVITINO_USER` isn't set, the client uses the
user of the machine that sends requests.