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

[UDF] scope level user with udf (non external) manage can not add function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • UI
    • None
    • 7.1.0-2281
    • Untriaged
    • 1
    • Unknown

    Description

      This is similar to MB-59021, in this case user has scope level privilege for local function (Manage Scopes [abucket:user3] , Query Select [abucket:user3:*] , Manage Scope Functions [abucket:user3] , Execute Scope Functions [abucket:user3])

      but is not able to create udf from UI.

      works via CLI as user3

      cbq> create function default:abucket.user3.add(a,b) {a+b};
      {
          "requestID": "cddea253-b98b-476b-852f-feef2b1f99b5",
          "signature": null,
          "results": [
          ],
          "status": "success",
          "metrics": {
              "elapsedTime": "81.335691ms",
       

      Attachments

        Issue Links

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

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              pierre.regazzoni Pierre Regazzoni
              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