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

[N1QL RBAC] Neither all nor * works for granting bucket_admin to all buckets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • feature-backlog
    • 5.0.0
    • query
    • 5.0.0-3008
    • Untriaged
    • No

    Description

      Try the following query based on syntax from:
      https://docs.google.com/document/d/1BSEdeCaY0t31LoPR-ebG7a2qodOL_M2MkKCmLyICkQM/edit

      cbq> grant bucket_admin on ALL to johnDoe;
      {
      "requestID": "a2ac554f-01cd-4d90-a6ad-8f67cc1762ba",
      "errors": [

      { "code": 3000, "msg": "syntax error - at ALL" }

      ],
      "status": "fatal",
      "metrics":

      { "elapsedTime": "384.395µs", "executionTime": "365.854µs", "resultCount": 0, "resultSize": 0, "errorCount": 1 }

      }
      cbq> grant bucket_admin on * to johnDoe;
      {
      "requestID": "981afc75-22aa-4ad0-8395-573f930780e1",
      "errors": [

      { "code": 3000, "msg": "syntax error - at *" }

      ],
      "status": "fatal",
      "metrics":

      { "elapsedTime": "385.852µs", "executionTime": "359.362µs", "resultCount": 0, "resultSize": 0, "errorCount": 1 }

      }

      I see above errors.

      Attachments

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

        Activity

          People

            Donald.haggart Donald Haggart
            Prerna.Manaktala Prerna Manaktala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty