bharos commented on PR #15035: URL: https://github.com/apache/gravitino/pull/15035#issuecomment-7053155383
Thanks @mehakmeet, the split reads well. I don't see a way to apply or remove an access tag with only descriptive authority. The races with policy binding and with tag or target recreation look right. A few tests that would help: - The tag owner without an `APPLY_TAG` grant: denied for an access tag, allowed for a descriptive one. `governor` is set up in `TestTagAssignmentAuthorizationH2` but never used. - `DENY_APPLY_TAG` at metalake level. Only the tag-level deny is covered. - Adding an existing access tag without authority, on real JCasbin. Today every real-path denial is a remove. - An access tag on a column with grant authority only on the table, so the column-to-table switch is tested on its own. - The in-transaction rechecks (`checkAuthorizedTagClassification`, `checkTarget`) on MySQL and PostgreSQL, for example a `TestTagMetaService` case. Today they only run on H2. -- 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]
