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

User w/ bucket data.dcp!read permission cannot access collections manifest via REST api

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • ns_server
    • Untriaged
    • 1
    • Unknown

    Description

      While a user with cluster.bucket[...].data.dcp!read permission can access bucket REST api (e.g. /pools/default/buckets/beer-sample), and the collections manifest via DCP, it cannot access the collections manifest via REST api (e.g. /pools/default/buckets/beer-sample/collections). Attempts to do so return:

      {"message":"Forbidden. User needs the following permissions","permissions":["cluster.bucket[beer-sample].collections!read"]}
      

      Given that this information is already accessible w/ this permission over DCP protocol, can we make it accessible via REST api with the same permission?

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-42426
          # Subject Branch Project Status CR V

          Activity

            People

              michael.blow Michael Blow
              michael.blow Michael Blow
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty