You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "mchades (via GitHub)" <gi...@apache.org> on 2026/08/18 15:35:56 UTC

[I] [Subtask] Support policies for view metadata objects [gravitino]

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

   ### Describe the subtask
   
   Support associating policies with `VIEW` metadata objects through the existing metadata object policy REST APIs.
   
   Currently, `VIEW` exists in `MetadataObject.Type`, but it is excluded from `PolicyManager.SUPPORTED_METADATA_OBJECT_TYPES_FOR_POLICIES`. As a result, policy association requests for views are rejected with `Cannot associate policies for unsupported metadata object type VIEW`.
   
   Implementation scope:
   
   - Add `VIEW` to the supported metadata object types in `PolicyManager`.
   - Clean up view policy relations when a view is dropped.
   - Extend catalog and schema cascade cleanup for view policy relations across H2, MySQL, and PostgreSQL.
   - Update `docs/open-api/policies.yaml` to include `VIEW`.
   - Add unit and integration tests covering policy association, listing, retrieval, removal, direct view deletion, and cascade cleanup.
   
   The completed view tag implementation in #11844 and #11897 can be used as a reference.
   
   This task covers the server, core relational storage, OpenAPI, and their tests. Typed Java and Python client APIs can be handled in follow-up issues.
   
   This task extends the current direct object-policy model and does not implement the policy-on-tag model proposed in #12176.
   
   ### Parent issue
   
   #604


-- 
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: commits-unsubscribe@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Subtask] Support policies for view metadata objects [gravitino]

Posted by "mchades (via GitHub)" <gi...@apache.org>.
mchades closed issue #12500: [Subtask] Support policies for view metadata objects
URL: https://github.com/apache/gravitino/issues/12500


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Subtask] Support policies for view metadata objects [gravitino]

Posted by "LiJie20190102 (via GitHub)" <gi...@apache.org>.
LiJie20190102 commented on issue #12500:
URL: https://github.com/apache/gravitino/issues/12500#issuecomment-5336138034

   I want to give it a try


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Subtask] Support policies for view metadata objects [gravitino]

Posted by "zhang-arvin (via GitHub)" <gi...@apache.org>.
zhang-arvin commented on issue #12500:
URL: https://github.com/apache/gravitino/issues/12500#issuecomment-5337707870

   I would like to work on this issue.


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org