FANNG1 opened a new issue, #7770:
URL: https://github.com/apache/gravitino/issues/7770

   ### What would you like to be improved?
   
   Currently we keep all Gravitino privileges in Jcasbin enforcer, and use a 
event system to keep consistent the privilege with Gravitino entity store. 
There are some pros:
   1.  The Jcasbin enforcer information are not syced in multi Gravitino server 
enviroments.
   2.  It is hard to maintain the correctness of the privilege by event
   3.  In a concurrent environment, could it work well?
   
   ### How should we improve?
   
   Create a new `enforcer` for each authorizer request, maybe an extra 
performance decrease for creating `enforcer` object.


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