Hi everyone, I am Honah (Jonas), working with Yufei on Policy Management in Apache Polaris. Here is the design doc <https://docs.google.com/document/d/1kIiVkFFg9tPa5SH70b9WwzbmclrzH3qWHKfCKXw5lbs/edit?usp=sharing> for reference.
To support policy management, we propose a new set of APIs that enable CRUD operations and policy assignments, including: - CreatePolicy - Create a new Policy - GetPolicy - Retrieve details of an existing policy - UpdatePolicy - Update an existing policy - SetPolicy - Assign a policy to an entity - UnsetPolicy - Remove an assigned policy from an entity Policies will exist within a namespace of a catalog and can be granted to entities such as catalogs, namespaces, or table-like objects. Based on this structure, we propose adding these APIs under /catalog. As the initial step, we will focus on adding definitions to the spec, while the actual implementation will follow later. You can review the API definitions in our proposed PR here: https://github.com/apache/polaris/pull/808. We’d love to hear your thoughts and feedback! Best regards, Honah