hdygxsj commented on code in PR #7425:
URL: https://github.com/apache/gravitino/pull/7425#discussion_r2159273294


##########
server-common/src/main/java/org/apache/gravitino/server/authorization/jcasbin/JcasbinAuthorizer.java:
##########
@@ -64,6 +69,9 @@ public class JcasbinAuthorizer implements GravitinoAuthorizer 
{
    */
   private Set<Long> loadedRoles = ConcurrentHashMap.newKeySet();
 
+  private static final Map<NameIdentifier, List<String>> ownerPolicyCache =

Review Comment:
   The purpose of this cache is to store owner policies previously loaded from 
Jcasbin, enabling their proper removal when the owner changes. However, it 
seems somewhat inappropriate to place this cache within the EntityStore.



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