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

cbworkloadgen 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 cbworloadgen command using user in 1.

      ./cbworkloadgen -n localhost:8091 -b mybucket -u dave -p password
        [####################] 100.0% (10527/estimated 10526 msgs)
      bucket: default, msgs transferred...
             :                total |       last |    per sec
       byte  :               105270 |     105270 |    54644.9
      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