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

roryqi 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 d4d1648114 [#9770][followup] improvement: Correct the config option's 
version (#9833)
d4d1648114 is described below

commit d4d1648114bc8ab99a23e52061a4507ac8187426
Author: roryqi <[email protected]>
AuthorDate: Fri Jan 30 16:47:41 2026 +0800

    [#9770][followup] improvement: Correct the config option's version (#9833)
    
    ### What changes were proposed in this pull request?
    
    Correct the config option's version
    
    ### Why are the changes needed?
    
    Fix: #9770
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    No need.
---
 .../src/main/java/org/apache/gravitino/config/ConfigConstants.java  | 3 +++
 core/src/main/java/org/apache/gravitino/Configs.java                | 6 +++---
 docs/security/access-control.md                                     | 6 +++---
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git 
a/common/src/main/java/org/apache/gravitino/config/ConfigConstants.java 
b/common/src/main/java/org/apache/gravitino/config/ConfigConstants.java
index 0f76269c9f..fe1693267e 100644
--- a/common/src/main/java/org/apache/gravitino/config/ConfigConstants.java
+++ b/common/src/main/java/org/apache/gravitino/config/ConfigConstants.java
@@ -83,6 +83,9 @@ public final class ConfigConstants {
   /** The version number for the 1.1.0 release. */
   public static final String VERSION_1_1_0 = "1.1.0";
 
+  /** The version number for the 1.1.1 release. */
+  public static final String VERSION_1_1_1 = "1.1.1";
+
   /** The version number for the 1.2.0 release. */
   public static final String VERSION_1_2_0 = "1.2.0";
 
diff --git a/core/src/main/java/org/apache/gravitino/Configs.java 
b/core/src/main/java/org/apache/gravitino/Configs.java
index bdf604770b..fc8d85312d 100644
--- a/core/src/main/java/org/apache/gravitino/Configs.java
+++ b/core/src/main/java/org/apache/gravitino/Configs.java
@@ -307,7 +307,7 @@ public class Configs {
   public static final ConfigEntry<Long> 
GRAVITINO_AUTHORIZATION_CACHE_EXPIRATION_SECS =
       new ConfigBuilder("gravitino.authorization.jcasbin.cacheExpirationSecs")
           .doc("The expiration time in seconds for authorization cache 
entries")
-          .version(ConfigConstants.VERSION_1_2_0)
+          .version(ConfigConstants.VERSION_1_1_1)
           .longConf()
           
.createWithDefault(DEFAULT_GRAVITINO_AUTHORIZATION_CACHE_EXPIRATION_SECS);
 
@@ -316,7 +316,7 @@ public class Configs {
   public static final ConfigEntry<Long> 
GRAVITINO_AUTHORIZATION_ROLE_CACHE_SIZE =
       new ConfigBuilder("gravitino.authorization.jcasbin.roleCacheSize")
           .doc("The maximum size of the role cache for authorization")
-          .version(ConfigConstants.VERSION_1_2_0)
+          .version(ConfigConstants.VERSION_1_1_1)
           .longConf()
           .createWithDefault(DEFAULT_GRAVITINO_AUTHORIZATION_ROLE_CACHE_SIZE);
 
@@ -325,7 +325,7 @@ public class Configs {
   public static final ConfigEntry<Long> 
GRAVITINO_AUTHORIZATION_OWNER_CACHE_SIZE =
       new ConfigBuilder("gravitino.authorization.jcasbin.ownerCacheSize")
           .doc("The maximum size of the owner cache for authorization")
-          .version(ConfigConstants.VERSION_1_2_0)
+          .version(ConfigConstants.VERSION_1_1_1)
           .longConf()
           .createWithDefault(DEFAULT_GRAVITINO_AUTHORIZATION_OWNER_CACHE_SIZE);
 
diff --git a/docs/security/access-control.md b/docs/security/access-control.md
index 55d81177ba..854421773a 100644
--- a/docs/security/access-control.md
+++ b/docs/security/access-control.md
@@ -444,9 +444,9 @@ To enable access control in Gravitino, configure the 
following settings in your
 
|---------------------------------------------------------|---------------------------------------------------------------------------|---------------|---------------------------------------------|---------------|
 | `gravitino.authorization.enable`                        | Enable or disable 
authorization in Gravitino                              | `false`       | No    
                                      | 0.5.0         |
 | `gravitino.authorization.serviceAdmins`                 | Comma-separated 
list of service administrator usernames                   | (none)        | Yes 
(when authorization is enabled)         | 0.5.0         |
-| `gravitino.authorization.jcasbin.cacheExpirationSecs`   | The expiration 
time in seconds for authorization cache entries            | `3600`        | No 
                                         | 1.2.0         |
-| `gravitino.authorization.jcasbin.roleCacheSize`         | The maximum size 
of the role cache for authorization                      | `10000`       | No   
                                       | 1.2.0         |
-| `gravitino.authorization.jcasbin.ownerCacheSize`        | The maximum size 
of the owner cache for authorization                     | `100000`      | No   
                                       | 1.2.0         |
+| `gravitino.authorization.jcasbin.cacheExpirationSecs`   | The expiration 
time in seconds for authorization cache entries            | `3600`        | No 
                                         | 1.1.1         |
+| `gravitino.authorization.jcasbin.roleCacheSize`         | The maximum size 
of the role cache for authorization                      | `10000`       | No   
                                       | 1.1.1         |
+| `gravitino.authorization.jcasbin.ownerCacheSize`        | The maximum size 
of the owner cache for authorization                     | `100000`      | No   
                                       | 1.1.1         |
 
 ### Authorization Cache
 

Reply via email to