roryqi opened a new pull request, #14908:
URL: https://github.com/apache/gravitino/pull/14908

   ### What changes were proposed in this pull request?
   
   - Add `ALTER` and `WRITE_TABLE` privileges with Java/Python, CLI, Web UI, 
and JDBC/Ranger HadoopSQL support. `ALTER` initially applies to tables; 
existing `MODIFY_TABLE` grants and mappings remain unchanged.
   - Authorize Iceberg staged-create commits using `CREATE_TABLE` on the 
schema. Ordinary commits retain their existing checks.
   - Document `gravitino.server.visibleConfigs` use cases, a configuration 
example, and its public exposure.
   
   ### Why are the changes needed?
   
   Separate schema changes from data writes, allow CREATE-only users to finish 
staged table creation while preventing MODIFY-only users from creating tables, 
and explain when to expose extra configuration to clients.
   
   Fixes #12109
   Fixes #10538
   Fixes #14243
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes: two new privileges and corrected Iceberg staged-create authorization. 
The new privileges are mapped to JDBC/Ranger operations; existing Gravitino 
REST privilege checks otherwise stay unchanged.
   
   ### How was this patch tested?
   
   ```bash
   ./gradlew :api:test :authorizations:authorization-common:test \
     :authorizations:authorization-ranger:test :clients:cli:test \
     :core:test --tests 
org.apache.gravitino.authorization.TestAuthorizationUtils \
     :iceberg:iceberg-rest-server:test -PskipITs
   ./gradlew :docs:build
   ```
   
   Python privilege unit tests: `python -m unittest 
tests.unittests.authorization.test_privileges`
   from `clients/client-python` (41 tests). Java/Python formatting and `git 
diff --check` also passed.
   


-- 
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