Package com.google.gerrit.server
Class AclInfoController
java.lang.Object
com.google.gerrit.server.AclInfoController
Class to control when ACL infos should be collected and be returned to the user.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enableAclLoggingIfUserCanViewAccess
(com.google.gerrit.server.logging.TraceContext traceContext) Returns message containing the ACL logs that have been collected for the request,Optional.empty()
if ACL logging hasn't been turned on
-
Method Details
-
enableAclLoggingIfUserCanViewAccess
public void enableAclLoggingIfUserCanViewAccess(com.google.gerrit.server.logging.TraceContext traceContext) throws PermissionBackendException - Throws:
PermissionBackendException
-
getAclInfoMessage
Returns message containing the ACL logs that have been collected for the request,Optional.empty()
if ACL logging hasn't been turned on
-