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

cbrestore needs to implement RBAC roles

    XMLWordPrintable

Details

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

    Description

      Execute a backup command, with user ldap user that has Admin role:

      [root@node1-cb450-testing-centos6 bin]# ./cbbackup http://localhost:8091 /tmp/backup -u dave -p password
        [                    ] 0.0% (0/estimated 7303 msgs)
      bucket: beer-sample, msgs transferred...
             :                total |       last |    per sec
       byte  :                    0 |          0 |        0.0
      2016-03-09 04:53:08,722: mt could not find index server:0
        [####################] 100.0% (586/estimated 586 msgs)
      bucket: mybucket, msgs transferred...
             :                total |       last |    per sec
       byte  :                94693 |      94693 |    51049.6
      2016-03-09 04:53:12,455: mt could not find index server:0
      done
      

      Now restore the backup using cbrestore without any username/password:

      [root@node1-cb450-testing-centos6 bin]# ./cbrestore /tmp/backup/ http://localhost:8091 --bucket-source=mybucket --bucket-destination=temp
        [####################] 100.0% (586/estimated 586 msgs)
      bucket: mybucket, msgs transferred...
             :                total |       last |    per sec
       byte  :                94693 |      94693 |  1472766.4
      done
      

      cbrestore should implement RBAC, to prevent anonymous user from creating docs in CB Server.

      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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty