code: protected boolean checkConsoleAccess(BeanContext context) {
          String consolePath = getConsolePath(context);
          if (StringUtils.isNotBlank(consolePath)) {
              return context.getResolver().getResource(consolePath) != null;
          }
          return true;
      }
docs: Check access rights to the servlets path - is checking ACLs of the console path
  
  @param context the current request
  @return 'true' if access granted or access check switched off