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

CBO Analyze: cannot run analyze as non-admin user

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 7.2.0
    • 7.2.0
    • analytics
    • 7.2.0-5183
    • Untriaged
    • 0
    • Unknown

    Description

      Anayltics reader or query select user cannot run analyze:

      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 and manager can run analyze. As in query service, I would expect 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

              till Till Westmann
              pierre.regazzoni Pierre Regazzoni
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty