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

[N1QL RBAC]User with special character with admin role not able to grant roles to other users.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.0
    • 5.0.0
    • query
    • 5.0.0-3015
    • Untriaged
    • Unknown

    Description

      1. create a user with role admin named: 123#$
      2. create a user with role Query System Catalog named johnDoe8.
      3. Try granting new role to johnDoe9 as:

      curl -u 123$#:password http://172.23.98.114:8093/query/service -d 'statement=GRANT query_select on default to johnDoe8'
      {
      "requestID": "b866739a-d085-4c43-8a41-bc42e314ead4",
      "signature": null,
      "results": [
      ],
      "errors": [{"code":13014,"msg":"User does not have credentials to access privilege cluster.admin!write. Add role Admin to allow the query to run."}],
      "status": "stopped",
      "metrics": {"elapsedTime": "4.483096ms","executionTime": "4.448118ms","resultCount": 0,"resultSize": 0,"errorCount": 1}
      }
      

      123$# already has admin role.

      Attachments

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

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            Prerna.Manaktala Prerna Manaktala (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