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

cbtransfer need to implement RBAC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 4.5.0
    • 4.5.0
    • tools
    • Untriaged
    • Centos 64-bit
    • No

    Description

      1. Configure CB Server with LDAP and create an ldap user
      2. Configure user in 1 user role as a bucket_admin[temp]

      curl -X GET http://Administrator:password@192.168.46.101:8091/settings/rbac/users
      [{"name":"dave","id":"dave","roles":[{"role":"bucket_admin","bucket_name":"temp"}]}]
      

      3. execute cbtransfer command using user in 1.

      [root@node1-cb450-testing-centos6 bin]# ./cbtransfer http://localhost:8091 csv:./data.csv -b mybucket -u dave -p password
      .
      bucket: mybucket, msgs transferred...
             :                total |       last |    per sec
       byte  :                94693 |      94693 |    64515.8
      2016-03-09 05:09:07,628: mt could not find index server:0
      done
      

      User 'dave' has no permission to access data for bucket - mybucket.

      Expected Result:
      User should be shown an error that it does not have permission to bucket - mybucket.

      Attachments

        Issue Links

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

          Activity

            People

              mikew Mike Wiederhold [X] (Inactive)
              ritam.sharma Ritam Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty