Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-11651

able to flush non sasl bucket via Rest without authentification, couchbase-cli doesn't allow it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 3.0
    • 3.0
    • ns_server, tools
    • Security Level: Public
    • None
    • 3.0.0-918
    • Untriaged
    • Unknown

    Description

      not sure, that we should allow to flush non sasl buckets without authentification. Alk, this feature is correct?
      then couchbase-cli also should allow

      [root@cen-0422 testrunner]# curl -X POST -I http://10.3.4.144:8091/pools/default/buckets/default/controller/doFlush
      HTTP/1.1 200 OK
      Server: Couchbase Server
      Pragma: no-cache
      Date: Mon, 07 Jul 2014 10:46:28 GMT
      Content-Length: 0
      Cache-Control: no-cache

      ./couchbase-cli bucket-flush -c localhost:8091 --bucket=default
      ERROR: Username cannot be empty. Please use -u or set environment variable CB_REST_USERNAME.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            steve Steve Yen
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty