jerqi commented on code in PR #4323:
URL: https://github.com/apache/gravitino/pull/4323#discussion_r1701142132


##########
core/src/main/java/org/apache/gravitino/authorization/AuthorizationUtils.java:
##########
@@ -131,58 +132,127 @@ public static <T> void prepareAuthorizationHooks(T 
manager, DispatcherHooks hook
       hooks.addPostHook(
           "createMetalake",
           (args, metalake) -> {
-            // TODO: Add the logic of setting the owner
+            NameIdentifier identifier = (NameIdentifier) ((Object[]) args)[0];

Review Comment:
   But we can add some e2e test to detect it.



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