Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-842

libcouchbase v2.8.0 : Unable to set a subdoc as a user with data writer role on a bucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Major
    • 2.8.1
    • 2.8.0
    • tools
    • None

    Description

      libcouchbase v2.8.0

      Trying out the following steps with cbc against a CB server that is running build 5.0.0-3509 doesnt work.

      1. On CB server, create a bucket
      2. Create a user "test" with Data Writer role on this bucket
      3. Go to cbc with the following cmd :
      cbc subdoc -u test -P password -U couchbase://10.111.151.101/bucket
      4. Create a document : set doc1

      {"code":"94108"}

      This doesnt work with user test (getting an error - The remote host closed the connection (0x2d)), but works with user Administrator. The same thing works fine with python sdk.

      Attachments

        1. image-2017-09-07-12-40-59-787.png
          image-2017-09-07-12-40-59-787.png
          107 kB
        2. main.cpp
          4 kB
        3. Makefile
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mihir.kamdar Mihir Kamdar (Inactive)
            mihir.kamdar Mihir Kamdar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty