Class AclInfoController

java.lang.Object
com.google.gerrit.server.AclInfoController

public class AclInfoController extends Object
Class to control when ACL infos should be collected and be returned to the user.
  • Method Details

    • enableAclLoggingIfUserCanViewAccess

      public void enableAclLoggingIfUserCanViewAccess(com.google.gerrit.server.logging.TraceContext traceContext) throws PermissionBackendException
      Throws:
      PermissionBackendException
    • getAclInfoMessage

      public Optional<String> getAclInfoMessage()
      Returns message containing the ACL logs that have been collected for the request, Optional.empty() if ACL logging hasn't been turned on