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

System keyspaces improvements

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • 7.1.0
    • query
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Load travel sample
      Create user marco with query select on travel-sample.itinerary.airlines

      both

      select * from system:buckets

      and

      select * from system:scopes

      return no documents.
      Technically this is correct as marco doesn't have privileges on travel-sample or itinerary, but it would probably be more informative if we returned `travel-sample` and `travel-sample`.itinerary respectively given that we can access at least one collection in there.

      All the keyspace keyspaces (indexes, keyspaces, buckets, scopes) could use GetUserBuckets() rather than namespace.Objects(), as it would cut down on scanning buckets the user doesn't have access to.

      system:nodes should report the node uuid.

      Attachments

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

        Activity

          People

            pierre.regazzoni Pierre Regazzoni
            marco.greco Marco Greco (Inactive)
            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