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


##########
core/src/main/java/org/apache/gravitino/authorization/AuthorizationUtils.java:
##########
@@ -116,4 +123,65 @@ public static void checkRoleNamespace(Namespace namespace) 
{
         "Role namespace must have 3 levels, the input namespace is %s",
         namespace);
   }
+
+  public static <T> void prepareAuthorizationHooks(T manager, LifecycleHooks 
hooks) {
+    if (manager instanceof SupportsMetalakes) {

Review Comment:
   Yes.



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