You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by js...@apache.org on 2024/08/29 17:22:58 UTC

(gravitino) branch branch-0.6 updated: [#4754] fix(docs): Optimize the document of access control (#4793)

This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.6 by this push:
     new d30677370 [#4754] fix(docs): Optimize the document of access control (#4793)
d30677370 is described below

commit d306773700eed0ec077b3741a754115e1080137c
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Thu Aug 29 10:22:54 2024 -0700

    [#4754] fix(docs): Optimize the document of access control (#4793)
    
    ### What changes were proposed in this pull request?
    
    Optimize the document of access control
    
    ### Why are the changes needed?
    
    Fix: #4754
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    Just docs.
    
    Co-authored-by: roryqi <ro...@apache.org>
---
 docs/security/access-control.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/security/access-control.md b/docs/security/access-control.md
index b0ffaf75e..91eb53725 100644
--- a/docs/security/access-control.md
+++ b/docs/security/access-control.md
@@ -246,6 +246,13 @@ The related configuration is as follows.
 | `gravitino.authorization.enable`         | Whether Gravitino enable authorization or not.                         | false         | No                               | 0.5.0         |
 | `gravitino.authorization.serviceAdmins`  | The admins of Gravitino service, multiple admins are spitted by comma. | (none)        | Yes if enables the authorization | 0.5.0         |
 
+:::info
+
+If you enable authorization, you should add users to the metalake first, otherwise you will fail to create metadata objects.
+If you don't set a user explicitly, you will use `anonymous` as the user.
+When you enable authorization and create a metalake, the service will add the creator to the metalake automatically.
+
+:::
 
 ## User Operation