ayushtkn opened a new issue, #4778:
URL: https://github.com/apache/polaris/issues/4778

   ### Is your feature request related to a problem? Please describe.
   
   Currently you need permissions on the entire catalog to drop a Generic Table
   
https://github.com/apache/polaris/blob/edd83e311f21f51a99a7a3dc0b25db36032d9e97/runtime/service/src/main/java/org/apache/polaris/service/catalog/generic/GenericTableCatalogHandler.java#L132-L134
   
   Having permissions on Catalog means we have it on the Table. But we should 
allow dropping the table when we don't have permission on entire catalog but 
only on the table 
   
   The iceberg catalog handler allows this
   
https://github.com/apache/polaris/blob/edd83e311f21f51a99a7a3dc0b25db36032d9e97/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogHandler.java#L1145-L1148
   
   ### Describe the solution you'd like
   
   Allow dropping if you have permission on table only, not on catalog
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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