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

   ### What would you like to be improved?
   
   #12983 introduced `MetadataObject.Type.MODEL_VERSION` and wired model 
versions into
   `getSecrets` / `USE_SECRETS` (privilege bind types, REST secret endpoints, 
Java/Python
   clients, auth expressions). Model versions should not be treated as secret 
metadata
   objects; secret privileges bind like other model privileges (Metalake…Model 
only).
   
   ### How should we improve?
   
   Revert the ModelVersion-as-secrets MetadataObject changes from #12983:
   
   - Remove `MetadataObject.Type.MODEL_VERSION` and related `MetadataObjects` 
naming
   - Remove `ModelVersion.supportsSecrets` and client wiring
   - Drop `MODEL_VERSION` from secret privilege bind types and auth expressions
   - Keep `Entity.EntityType.MODEL_VERSION` and `Model.supportsSecrets`
   
   Related: incorrectly mixed into #13598 / #13599; split out as a dedicated 
fix.


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