roryqi commented on code in PR #13846:
URL: https://github.com/apache/gravitino/pull/13846#discussion_r4289963658


##########
server/src/main/java/org/apache/gravitino/server/web/filter/authorization/LoadViewAuthorizationExecutor.java:
##########
@@ -70,13 +70,11 @@ public boolean execute(AuthorizationRequestContext 
authorizationRequestContext)
       return false;
     }
     try {
-      if (!GravitinoEnv.getInstance()
-          .internalViewDispatcher()
-          .viewExistsWithoutImport(viewIdentifier)) {
-        // Absence permits a terminal 404, never a subsequent load without 
read permission.
-        throw new MissingViewProbeException(viewIdentifier);
-      }
+      
GravitinoEnv.getInstance().internalViewDispatcher().loadView(viewIdentifier);
       return false;

Review Comment:
   `return false` will block the subsequent load operation. This is enough.



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