LauraXia123 opened a new issue, #12588:
URL: https://github.com/apache/gravitino/issues/12588

   ### What would you like to be improved?
   
   Expose the following UI session timeout settings through `gravitino.conf` 
and the `/configs` API:
   
   - `gravitino.server.webserver.sessionIdleTimeoutMs`
   - `gravitino.server.webserver.sessionMaxDurationMs`
   - `gravitino.server.webserver.sessionIdleWarningLeadMs`
   
   The UI should resolve values in this order:
   
   1. `/configs` API
   2. Corresponding `NEXT_PUBLIC_*` environment variable
   3. Built-in default value
   
   Additionally, `gravitino.authorization.serviceAdmins` is already included by 
default in the `/configs` API when authorization is enabled, so it should not 
need to be added to `gravitino.server.visibleConfigs`.
   
   ### How should we improve?
   
   - Add the three configuration entries to `conf/gravitino.conf.template`.
   - Keep their default entries commented out and include descriptions.
   - Add only the three new keys to `gravitino.server.visibleConfigs`, 
comma-separated.
   - Do not add `gravitino.authorization.serviceAdmins` to `visibleConfigs`, 
since it is handled automatically by the config endpoint.
   - Update the UI configuration resolution and add tests for server-config, 
environment-variable, and default-value precedence.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to