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

CBO Analyze: cannot run analyze as non-admin user

    XMLWordPrintable

Details

    • 0

    Description

      Analytics reader or query select only user cannot run analyze unless they have manage permission.

      cbq> ANALYZE ANALYTICS COLLECTION airline;
      {
          "requestID": "d97e7ee2-10e8-42fe-bbdf-921018a1091a",
          "errors": [{ 
              "code": 20001,        "msg": "User must have permission (cluster.bucket[travel-sample].analytics!manage)"    } 
          ],
          "status": "fatal",
       

      Only analytics admin or analytics manager can run analyze. As in query service, I would expect a read-only user to be able to run update stats.

      Attachments

        Issue Links

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

          Activity

            People

              vijay.sarathy Vijay Sarathy
              pierre.regazzoni Pierre Regazzoni
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty