bharos commented on PR #15035:
URL: https://github.com/apache/gravitino/pull/15035#issuecomment-7021200973

   Thanks @mehakmeet. My take on the questions:
   
   1. Agree. `CREATE_POLICY` should be required on top of the existing edit 
check, not replace it.
   2. Agree. With nearest-wins, removing a local value can expose an inherited 
one, so removal should take the same checks as adding.
   3. Agree. Otherwise the tag could be applied freely, and access granted 
later by enabling the policy or changing the selector. Related gap: enabling 
isn't gated. `setPolicy` still only needs `METALAKE::OWNER || POLICY::OWNER`, 
so I think enabling a bound access policy should need the same as widening.
   4. Agree on keeping deletion as is, since it can only remove access. 
Unbinding is the same, so I'd keep it on the existing rule and require 
`CREATE_POLICY` only for binding. That also removes the inconsistency.
   


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