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

[N1QL][RBAC] GRANT statement on a scope no longer works

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.6.0
    • query
    • 7.6.0-1683
    • Untriaged
    • 0
    • Yes

    Description

      in 7.6 we can no longer grant a role access to an entire scope

      in previous versions this is what we would do, and it now errors in 7.6

      GRANT query_select on default:default.test to johnDoe11
      [
      {
      "code": 5220,
      "msg": "Role query_select requires a keyspace.",
      "reason":

      { "role": "query_select" }

      ,
      "query": "GRANT query_select on default:default.test to johnDoe11"
      }
      ]

      quite a few rbac regression tests are now failing due to this

      Attachments

        Issue Links

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

          Activity

            People

              ajay.bhullar Ajay Bhullar
              ajay.bhullar Ajay Bhullar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty